Solved

Vlookup error

Posted on 2013-01-18
8
347 Views
Last Modified: 2013-01-18
Attached is a vlookup failing,

can anyone see why?

Thanks
Vlookup.xlsx
0
Comment
Question by:Seamus2626
8 Comments
 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 167 total points
ID: 38792829
Because there is no match found in column C for any of your values in column B
0
 
LVL 24

Expert Comment

by:Steve
ID: 38792832
There are no matches.

So nothing to return.
0
 
LVL 26

Assisted Solution

by:redmondb
redmondb earned 83 total points
ID: 38792836
Seamus2626,

The values you're looking up don't exist in column C! If you copy B2 to C2 the lookup works.

Regards,
Brian.
0
 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 167 total points
ID: 38792841
You can use =IFERROR(VLOOKUP(B2,C:D,2,0),"No Match Found") in A2 and below if you want to show "No Match Found" when Vlookup is not able to find any matching value

Replace "No Match Found" with "" if you want blank when vlookup fails
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Assisted Solution

by:ttornqvist
ttornqvist earned 83 total points
ID: 38792848
Hi,

None of the values you have in column B are not in column C. Vlookup tries to find exact match. Note that you also have some trailing space in column C.
0
 
LVL 24

Assisted Solution

by:Steve
Steve earned 83 total points
ID: 38792851
Is there a relationship between SecurityId and Id?
0
 
LVL 19

Accepted Solution

by:
helpfinder earned 84 total points
ID: 38792874
Obviously Vlookup dies not know to work only with one column where this column represents looking value and source value)
If you add one more column (copy SecurityId to another column) if seems it is working as you expect - see attached excel file
Copy-of-Vlookup.xlsx
0
 

Author Closing Comment

by:Seamus2626
ID: 38793023
All sorted!

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

919 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

19 Experts available now in Live!

Get 1:1 Help Now