Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Index with 0 values in range

I am using

=IF(ISNA(INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4 )),0,INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4))

in order to get the corresponding value in column B to a value inputed in
column J which should match column A. However this only works out when I
input 100 and it doesn't work for the other values. I don't know whether
this is due to the 0 values in column A (..but this is why i opted for Index
instead of lookup). The formula works out if i input the value (eg "255" )
instead of J2 but I need the equation linked to the value in J2 which is
again linked to other sheets.

A D
GL Sub Class "Transaction
Ccy Amount"
100 107,299.21
0 .00
0 .00
255 3,368,000.00
0 .00
0 .00
394 -11,210.26
0 .00
0 .00
454 5,486.00

Any help please?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Index with 0 values in range

Hi,

What your retirning to J2 with a formula isn't matching anyting in column A.
You can correct that but sometimes multiplying by 1 in your formula will work

=IF(ISNA(INDEX($A$5:$D$49,MATCH(J2*1,$A$5:$A$49,0) ,4)),0,INDEX($A$5:$D$49,MATCH(J2*1,$A$5:$A$49,0),4 ))

Mike



"Tang" wrote:

I am using

=IF(ISNA(INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4 )),0,INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4))

in order to get the corresponding value in column B to a value inputed in
column J which should match column A. However this only works out when I
input 100 and it doesn't work for the other values. I don't know whether
this is due to the 0 values in column A (..but this is why i opted for Index
instead of lookup). The formula works out if i input the value (eg "255" )
instead of J2 but I need the equation linked to the value in J2 which is
again linked to other sheets.

A D
GL Sub Class "Transaction
Ccy Amount"
100 107,299.21
0 .00
0 .00
255 3,368,000.00
0 .00
0 .00
394 -11,210.26
0 .00
0 .00
454 5,486.00

Any help please?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Index with 0 values in range

Thanks Mike, though it did not work out when I added the *1 in the equation,
it worked when I added *1 to column A!

Thanks a lot!!

"Mike H" wrote:

Hi,

What your retirning to J2 with a formula isn't matching anyting in column A.
You can correct that but sometimes multiplying by 1 in your formula will work

=IF(ISNA(INDEX($A$5:$D$49,MATCH(J2*1,$A$5:$A$49,0) ,4)),0,INDEX($A$5:$D$49,MATCH(J2*1,$A$5:$A$49,0),4 ))

Mike



"Tang" wrote:

I am using

=IF(ISNA(INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4 )),0,INDEX($A$5:$D$49,MATCH(J2,$A$5:$A$49,0),4))

in order to get the corresponding value in column B to a value inputed in
column J which should match column A. However this only works out when I
input 100 and it doesn't work for the other values. I don't know whether
this is due to the 0 values in column A (..but this is why i opted for Index
instead of lookup). The formula works out if i input the value (eg "255" )
instead of J2 but I need the equation linked to the value in J2 which is
again linked to other sheets.

A D
GL Sub Class "Transaction
Ccy Amount"
100 107,299.21
0 .00
0 .00
255 3,368,000.00
0 .00
0 .00
394 -11,210.26
0 .00
0 .00
454 5,486.00

Any help please?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
INDEX using range BJ Excel Worksheet Functions 2 July 25th 08 10:43 PM
Index to define a range Boris Excel Worksheet Functions 2 July 3rd 07 02:30 PM
Index by Range BC Excel Worksheet Functions 4 June 29th 06 12:39 AM
Use Index to get range Adella Excel Worksheet Functions 4 November 17th 05 05:56 PM
index to a range of cells Frank Kabel Excel Worksheet Functions 0 October 27th 04 05:39 PM


All times are GMT +1. The time now is 11:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"