Replace #N/A with a blank

nicoleHSI

New Member
Joined
Jun 28, 2006
Messages
19
I've created a form using VLOOKUP that fills in several cells based on a lsit selection. However, it would be great if the cells appeared blank until the information has been filled in.
Is this possible? Showing #N/A in every cell is a little distracting.

Let me know if you can help. Thanks!
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try...

=IF(ISNA(VLOOKUP(LookupValue,TableArray,ColIndex,RangeType)),"",VLOOKUP(LookupValue,TableArray,ColIndex,RangeType))

Hope this helps!
 
Upvote 0
If you always expect your lookup value to be within the lookup range but you simply want to suppress #N/A when lookup value is blank

=IF(LookupValue="","",VLOOKUP(LookupValue,TableArray,ColIndex,RangeType))
 
Upvote 0

Forum statistics

Threads
1,214,813
Messages
6,121,706
Members
449,048
Latest member
81jamesacct

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