Solved

Vlookup

Posted on 2013-06-20
4
524 Views
Last Modified: 2013-06-20
OK, quick question, should be fairly easy, but I haven't been able to figure it out.

=IFERROR(VLOOKUP(A2,E:E,1,FALSE),"")

By design if A2 is found in the column E then it outputs the information in A2. If it not found, then it outputs an empty cell.
What I need is the opposite. If the number matches, output a blank cell, else output the information in A2. I have part of it worked out.

=IFERROR(VLOOKUP(A2,E:E,1,FALSE),A2)

This will output A2 regardless. Now, how do I output a blank cell if the number is found?
0
Comment
Question by:Dixie_electric
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
Cluskitt earned 300 total points
ID: 39263141
=IF(ISERROR(VLOOKUP(A2,E:E,1,FALSE),A2,""))

EDIT: there was one ) missing
0
 

Author Comment

by:Dixie_electric
ID: 39263264
=IF(ISERROR(VLOOKUP(A2,E:E,1,FALSE),A2,""))

Close. Close enough I'll take it.

=IF(ISERROR(VLOOKUP(A2,E:E,1,FALSE)),A2,"")

is what worked. ) was in the wrong place
0
 
LVL 81

Expert Comment

by:byundt
ID: 39263284
I'm pretty sure Cluskitt meant to post:
=IF(ISERROR(VLOOKUP(A2,E:E,1,FALSE)),A2,"")

It could also be:
=IF(ISNA(MATCH(A2,E:E,0)),A2,"")
0
 
LVL 18

Expert Comment

by:Cluskitt
ID: 39263293
Yes, sorry, I got confused by the )
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

685 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