Solved

Vlookup

Posted on 2013-06-20
4
529 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
[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
  • Learn & ask questions
  • 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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

759 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