vlook up cell to show blank

PEAKCAB

New Member
Joined
Jul 16, 2018
Messages
49
Hello,

I am trying to make my invoice process easier and from my customer base populate the address cells on the invoice using vlookup which i now have sorted; however on the cells in the lookup that are blank, on the invoice it shows a 0 which i would like to show as a blank.

i am using the following formula

=IFERROR(VLOOKUP($A$22,Account!1:1048576,7,FALSE),"")

Can anybody point me in the right direction?

Regards,
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
one way

=IF(IFERROR(VLOOKUP($A$22,Account!1:1048576,7,FALSE),"")=0,"",IFERROR(VLOOKUP($A$22,Account!1:1048576,7,FALSE),""))
 
Upvote 0
@Aladin Akyurek
Thanks for the explanation :)
- your formula works with text but returns blank for numeric fields

An address field like postcode 73301 may contain only numerics
- is it possible to amend your formula to handle both numerics and text?
 
Upvote 0
It's meant to work for a VLOOKUP formula, assumed to return text or text numbers...

If the VLOOKUP formula is expected to return a numeric result, one can force it with...

=IFERROR(T(VLOOKUP($A$22,Account!1:1048576,7,0)&""),"")

the result ow which might require an additional step for further processing.
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,144
Members
453,021
Latest member
Justyna P

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