VLookUp / INDEX MATCH "" / Null / 0 values

G

Guest

I need a bit of assistance with this one. Can someone modify these functions to accomodate "", NULL or 0 so not to have the #N/A error

1.) =VLOOKUP($A5,MyList,2,FALSE

2.) =INDEX([Book1]Sheet1!$A$1:$D$6, MATCH(A1,[Book1]Sheet2!$A$1:$A$6,), MATCH("MyList",[Book1]Sheet2!$A$1:$D$1,)

Thanks before hand for any assistance rendered.
 
F

Frank Kabel

Hi Terry
Terry said:
I need a bit of assistance with this one. Can someone modify these
functions to accomodate "", NULL or 0 so not to have the #N/A error?

1.) =VLOOKUP($A5,MyList,2,FALSE)
=IF(ISNA(VLOOKUP($A5,MyList,2,FALSE)),0,VLOOKUP($A5,MyList,2,FALSE))


2.) =INDEX([Book1]Sheet1!$A$1:$D$6,
MATCH(A1,[Book1]Sheet2!$A$1:$A$6,),
MATCH("MyList",[Book1]Sheet2!$A$1:$D$1,))
=IF(ISNA(INDEX(.....),0,INDEX(....))

Frank
 

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

Top