Vlookup & #n/a

F

Fishbone

I am running a VLOOKUP formula in which I am expecting most cells t
return "#N/A". Does anyone know how I can either make the #N/A'
return blank or with different text i.e "Not Active"

The formula I am running is:-

=VLOOKUP(A4, Rae2001!D2:I2200, 6, 0)

Thanks

Laurenc
 
J

JulieD

Hi

one way
=IF(ISNA(VLOOKUP(A4, Rae2001!D2:I2200, 6, 0)),"Not Active",VLOOKUP(A4,
Rae2001!D2:I2200, 6, 0))

anyother way
=if(A4="","Not Active",VLOOKUP(A4, Rae2001!D2:I2200, 6, 0))

"Not Active" can be replace with anything you like
""
will give you blank (well more correctly, it will return a zero length
string)

Cheers
JulieD
 

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

Vlookup and #N/a 5
Use & with two formulas 2
Excel IF statement with vlookup 2
Set add function ignore #N/A 1
Removing #N/A 4
IF/ISBLANK formula 3
Help With VLOOKUP 2
VLOOKUP returns #N/A 3

Top