remove the " #N/A" in the results field when the look up field is empty

Snarf_Master

New Member
Joined
Oct 30, 2018
Messages
3
I hope my title makes sence. When I copy the Vlookup formula down the column waiting for the lookup field to be entered it shows the "#N/A". How do I make that field blank or hide the "#N/A" until the lookup field is populated?

Thanks!!!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
I hope my title makes sence. When I copy the Vlookup formula down the column waiting for the lookup field to be entered it shows the "#N/A". How do I make that field blank or hide the "#N/A" until the lookup field is populated?
If this is your formula...

=YourFormula

change it to this...

=IFERROR(YourFormula,"")
 
Upvote 0
current formula is: VLOOKUP(F3,Sheet2!A:D,4,0)

should it read =IFERROR(F3,Sheet2!A:D,4,0) ??
No, you aren't replacing your original formula. Rather you are embedding it into an IFERROR formula, i.e.
Code:
[COLOR=#ff0000]=IFERROR([/COLOR][COLOR=#0000ff]VLOOKUP(F3,Sheet2!A:D,4,0)[/COLOR][COLOR=#ff0000],"")[/COLOR][COLOR=#333333]
[/COLOR]
See: https://exceljet.net/excel-functions/excel-iferror-function

And By the way, welcome to the Board! :)
 
Last edited:
Upvote 0
You are welcome.
Glad we were able to help.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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