do not want a value if vlookup is false

alethea2000

Board Regular
Joined
Nov 27, 2003
Messages
67
Hi

I am doing a vlookup but if the thing i am looking up is not there i want it to come back with nothing or a work saying no, how can i do this please. thanks ali
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Add the error handling portion:

=If(ISNA(Vlookup(....),"",Vlookup(...))
 
Upvote 0
How about this:

=IF(A4<>"",VLOOKUP(Sheet1!$A$4,Sheet2!$L:$U,10,FALSE),"")

:lol:
 
Upvote 0
thank you for your help but i cannot seem to get this to work, error my side

my formula currently is
=VLOOKUP(B2,EmpDB.xls!$C$2:$D$9494,2)

how should this look. thank again
 
Upvote 0
Try copying this to your sheet.

=If(isna(VLOOKUP(B2,EmpDB.xls!$C$2:$D$9494,2,0)),"",VLOOKUP(B2,EmpDB.xls!$C$2:$D$9494,2,0))
 
Upvote 0
EXCELLENT THANKS TO YOU BOTH I HAVE USED

=If(isna(VLOOKUP(B2,EmpDB.xls!$C$2:$D$9494,2,0)),"",VLOOKUP(B2,EmpDB.xls!$C$2:$D$9494,2,0))

I have never hear of isna before what does it mean.

thanks again
 
Upvote 0
It means if the value you are looking for is not available (hence ISNA), then return what you asked for, ("") else return the value your looking for.

Look in the Function dialogue, under the Inforation Category for further help.
 
Upvote 0

Forum statistics

Threads
1,224,884
Messages
6,181,555
Members
453,053
Latest member
Kiranm13

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top