Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

vlookup in Excel

Posted on 2015-01-29
Medium Priority
213 Views
=IFERROR(VLOOKUP(G1,'#Output'!A1:H698, 8,FALSE), "")

The link above can prevent N/A from display if vlookup can match a record. However, if it match a record with blank field, the retrieved column will be shown as 0. Is it possible to let it show blank instead of 0?

Tks
0
Question by:AXISHK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 24

Accepted Solution

Phillip Burton earned 1200 total points
ID: 40577484
=IFERROR(if(VLOOKUP(G1,'#Output'!A1:H698, 8,FALSE)=0,"",VLOOKUP(G1,'#Output'!A1:H698, 8,FALSE)), "")
0

LVL 93

Assisted Solution

Patrick Matthews earned 800 total points
ID: 40577795
If your VLOOKUP is normally returning text, and not numeric or date values, there is a simpler way:

``````=IFERROR(VLOOKUP(G1,'#Output'!A1:H698, 8,FALSE)&"", "")
``````

The &"" appends a zero-length string to the result, thus preventing the blank from being interpreted as a numeric zero.
0

LVL 47

Expert Comment

ID: 40578470
That's a cool trick, Patrick! I hadn't seen that before.
0

LVL 93

Expert Comment

ID: 40578746
:)
0

Author Closing Comment

ID: 40578854
Tks
0

Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
Suggested Courses
Course of the Month6 days, 13 hours left to enroll