Vlookup up to return blank

Nova1979

Board Regular
Joined
Feb 4, 2020
Messages
111
Office Version
  1. 2010
Platform
  1. Windows
Hello all

I am wanting help on a vlookup formula to return a blank cell
The formula is on sheet2 column G and it is referencing a drop down options in column K

=IFNA(VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE),”1147”)
Sheet1 has the lists and reference numbers. Almost everything is working however, the information returned when there is a blank cell in column B from the vlookup is 0.
I am needing this to be blank however I am unable to get.it

I hope this is clear and any help is appreciated

Thanks
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
If the returned value should be text, you can use:

Excel Formula:
=IFNA(VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)&"",”1147”)

If it could be text or numeric, you'll need to repeat the VLOOKUP testing if the result is "" - for example:

Excel Formula:
=IFNA(IF(VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)="","",VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)),”1147”)
 
Upvote 0
Solution
If the returned value should be text, you can use:

Excel Formula:
=IFNA(VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)&"",”1147”)

If it could be text or numeric, you'll need to repeat the VLOOKUP testing if the result is "" - for example:

Excel Formula:
=IFNA(IF(VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)="","",VLOOKUP(K1,Sheet1!$A$2:$B$53,2,FALSE)),”1147”)
Thanks very much. I have used the second as the returning information in numerical
 
Upvote 0

Forum statistics

Threads
1,215,746
Messages
6,126,645
Members
449,325
Latest member
Hardey6ix

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