Need Help with Vlookup

Joefried

New Member
Joined
Aug 5, 2011
Messages
37
Hi There

thanks for looking and trying to help

i would like a formula if:

the vlookup's answer is N/A leave blank
meaning if he can't find a match leave it blank

example

=VLOOKUP(A:A,SHEET2!A:B,2,FALSE)
now if he cant find a match for the look up meaning in raw A there is no match leave it blank

Thank you so much
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hi There

thanks for looking and trying to help

i would like a formula if:

the vlookup's answer is N/A leave blank
meaning if he can't find a match leave it blank

example

=VLOOKUP(A:A,SHEET2!A:B,2,FALSE)
now if he cant find a match for the look up meaning in raw A there is no match leave it blank

Thank you so much
Typically, the first argument to VLOOKUP is a SINGLE cell reference, not an entire column. Like this...

=VLOOKUP(A1,SHEET2!A:B,2,0)

Now, if you want to trap any errors...

If you're using Excel 2007 or later:

=IFERROR(VLOOKUP(A1,SHEET2!A:B,2,0),"")

Note that that will trap ALL errors not just #N/A errors.

For other versions:

IF(ISNA(VLOOKUP(A1,SHEET2!A:B,2,0)),"",VLOOKUP(A1,SHEET2!A:B,2,0))
 
Upvote 0
sorry but there is another problem now because there is a error in the background i can't do a sum which will include that box because the answer would be #VALUE how do we resolve that?
 
Upvote 0
sorry but there is another problem now because there is a error in the background i can't do a sum which will include that box because the answer would be #VALUE how do we resolve that?
Try this...

Book1
A
149
227
360
423
5#VALUE!
611
794
86
915
1085
Sheet1

=SUMIF(A1:A10,"<1E100")

Result = 370
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,220
Members
452,895
Latest member
BILLING GUY

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