VLOOKUP problem

TOMCAT1981

New Member
Joined
Oct 12, 2014
Messages
47
So, I have a guy that wants to populate a sheet, then wants another sheet that copies the info from the first sheet. In Sheet2 the user will fill a column that will use VLOOKUP to enter all data that was entered in Sheet1.

My formula in Sheet2
=IFERROR(VLOOKUP(A5,TABLE,4,FALSE)," ")

The formula works just fine, except if there is no data entered in that column it's calling out, it brings back a 0. How do I get it to be just blank?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
try

=if(isblank(A5),"",IFERROR(VLOOKUP(A5,TABLE,4,FALSE)," "))
 
Upvote 0
Hi,

Unless you have an Explicit reason to, Don't use a Space as a result, use "", Not " " (Blank vs. Space).
 
Upvote 0
could you post a sample of data that didn't work as expected
 
Upvote 0
Maybe
=if(A5="","",IFERROR(VLOOKUP(A5,TABLE,4,FALSE),""))
 
Upvote 0
Still returns a "0" in the cell. Also when VLOOKUP is supposed to bring back a date, if it is blank it shows up as 1/0/1900

ok, try this instead

Code:
=IF(ISBLANK(VLOOKUP(A1,TABLE,4,FALSE)),"",VLOOKUP(A1,TABLE,4,FALSE))
 
Upvote 0
Code:
=IF(VLOOKUP(A5,TABLE,2,FALSE)=0,"",VLOOKUP(A5,TABLE,2,FALSE))

You have to validate the results before accepting it.
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,305
Members
452,633
Latest member
DougMo

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