Vlookup - anyway to NOT show a value?

AudriGib11

New Member
Joined
Jan 27, 2005
Messages
14
I have a vlook up on a form but i dont want the "#N/A" to show in the field - is that possible?

I actually would like it to show BLANK unless that field is populated.

this is the formula currently in the cell:

=VLOOKUP(B85,'Price & Stock List'!$A$1:$F$48417,2,FALSE)

THANKS!!!
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
I have a vlook up on a form but i dont want the "#N/A" to show in the field - is that possible?

I actually would like it to show BLANK unless that field is populated.

this is the formula currently in the cell:

=VLOOKUP(B85,'Price & Stock List'!$A$1:$F$48417,2,FALSE)

THANKS!!!

If on Excel 2007 or later...

=IFERROR(VLOOKUP(B85,'Price & Stock List'!$A$1:$F$48417,2,0),"")

On all systems...

Either when the expected outcome is text:

=LOOKUP(REPT("z",255),CHOOSE({1,2},"",VLOOKUP(B85,'Price & Stock List'!$A$1:$F$48417,2,0)))

Or:

=IF(ISNUMBER(MATCH(B85,'Price & Stock List'!$A$1:$A$48417,0)),VLOOKUP(B85,'Price & Stock List'!$A$1:$F$48417,2,0),"")
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,234
Members
452,898
Latest member
Capolavoro009

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