Vlookup to return blank instead of 0 or N/A in Excel

Ansiep1

New Member
Joined
Apr 26, 2017
Messages
3
Dear all,

I am new to this forum. My vlookup entry:

=VLOOKUP(Table1[@ID],'2017'!$A$1:$AH$60,34,0)

I would like to return completely blank cell, not 0. I tried several suggestions found on internet, but to no avail. Any assistance will be appreciated.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Re: How to vlookup to return blank instead of 0 or N/A in Excel

it is not clear to me what you are doing. You seem to be returning a value 34 columns to the right of your "match"........
 
Upvote 0
Re: How to vlookup to return blank instead of 0 or N/A in Excel

Yes, I am summarising payment info from 2017 worksheet, but if the cell in sheet 2017 is blank, I need the return cell to be blank too. is there a better way to do this?
 
Upvote 0
Re: How to vlookup to return blank instead of 0 or N/A in Excel

Try this:

=IFERROR(1/(1/VLOOKUP(Table1[@ID],'2017'!$A$1:$AH$60,34,0)),"")
 
Upvote 0
Re: How to vlookup to return blank instead of 0 or N/A in Excel

Maybe custom format the column with something like this:

Code:
0.00;-0.00;;@
 
Upvote 0
Re: How to vlookup to return blank instead of 0 or N/A in Excel

If you want the formula to do it itself then,

Code:
=IF(VLOOKUP(Table1[@ID],'2017'!$A$1:$AH$60,34,0)=0,"",VLOOKUP(Table1[@ID],'2017'!$A$1:$AH$60,34,0))

This will work even if all your outcomes are not numbers.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,907
Messages
6,122,181
Members
449,071
Latest member
cdnMech

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