Solved

vlookup in Excel

Posted on 2015-01-29
5
177 Views
Last Modified: 2015-01-29
=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
Comment
Question by:AXISHK
5 Comments
 
LVL 24

Accepted Solution

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

Assisted Solution

by:Patrick Matthews
Patrick Matthews earned 200 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)&"", "")

Open in new window


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

by:Wayne Taylor (webtubbs)
ID: 40578470
That's a cool trick, Patrick! I hadn't seen that before.
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 40578746
:)
0
 

Author Closing Comment

by:AXISHK
ID: 40578854
Tks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 how to use a scrolling table in Microsoft Excel using the INDEX function.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now