Error Return Value from and INDEX(A:2,MATCH()) function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I am using the following function =IF(INDEX('Page A'!F:F,MATCH('Page
B'!A9,'Mar A'!A:A,0))=#N/A,"",INDEX('Page A'!F:F,MATCH('Page B'!A9,'Page
A'!A:A,0))) and it keeps returning a #N/A when the MATCH() function errors
out, but what I want to show is "" (blank space). Obviously there is
something wrong with my formula but I can't figure it out. If anyone out
there can help me please let me know what I am doing wrong

Thanks!
 
Try using ISNA instead:
IF(ISNA(INDEX('Page A'!F:F,MATCH('Page > B'!A9,'Mar
A'!A:A,0))),,"",INDEX('Page A'!F:F,MATCH('Page B'!A9,'Page
A'!A:A,0)))
That should get you a blank with a return of #N/A. Check out the other IS
functions, too (ISERROR, ISBLANK, ISREF, etc.).

Hope that helps.

Tom Hayakawa
 
Try instead in this form:

=IF(ISNA(MATCH(...)),"",INDEX(.. MATCH(...)))

Error trap for the MATCH(...) part will do
 
I am assuming you have a typo in the formula and Mar A should be Page A (or
if it is a translation that you missed?), however I am going to use Page A


=IF(ISNUMBER(MATCH('Page B'!A9,'Page A'!A:A,0)),INDEX('Page
A'!F:F,MATCH('Page B'!A9,'Page A'!A:A,0)),"")


should work


Regards,

Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Correct #N/A Value 6
Conditional Indexing 2
Function Help 4
remove #n/a from the columnI've used a function 1
INDEX MATCH 4
text match formula not working 2
index, match formula 1
match/index using multiple values 5

Back
Top