LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 129
Default Correct #N/A Value

Hello,

I have created a formula using the threads I have seen and I can not get rid
of the #N/A value. The formula works ok if there is match or if the value of
$c$2 is not in my Sheet1.

Original formula was

=IF(ISNA(MATCH($C$17,Sheet1!$C:$C,0)),"",INDEX(She et1!A:A,MATCH($C$17&"_"&ROW(Sheet1!$A2),Sheet1!$F: $F,0)))

The #N/A appears when it has found a MATCH but there is only 1 row of data.

I have tried ISNA but my logic is not right, so it returns a value of TRUE.

Here is my revised formula


=IF(ISNA(MATCH($C$17,Sheet1!$C:$C,0)),"",ISNA(INDE X(Sheet1!A:A,MATCH($C$17&"_"&ROW(Sheet1!$A2),Sheet 1!$F:$F,0),"
",INDEX(Sheet1!A:A,MATCH($C$17&"_"&ROW(Sheet1!$A2) ,Sheet1!$F:$F,0)))))

can you help me correct it?

 
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
Getting the correct SUM answer txheart Excel Discussion (Misc queries) 1 April 18th 08 07:05 PM
If with AND - Is this correct? Greg Excel Worksheet Functions 4 March 7th 08 04:01 AM
Linking to correct row Eden397 Excel Discussion (Misc queries) 0 June 25th 07 02:29 PM
If correct, add 1 sparky3883 Excel Worksheet Functions 2 October 11th 05 07:52 PM
if(b2=1,b3,0) is this correct [email protected] Excel Worksheet Functions 2 March 21st 05 08:21 AM


All times are GMT +1. The time now is 12: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"