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

x
?
Solved

Vlookup error

Posted on 2013-01-18
8
Medium Priority
?
353 Views
Last Modified: 2013-01-18
Attached is a vlookup failing,

can anyone see why?

Thanks
Vlookup.xlsx
0
Comment
Question by:Seamus2626
[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
8 Comments
 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 668 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 332 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Assisted Solution

by:Jignesh Thar
Jignesh Thar earned 668 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
 
LVL 1

Assisted Solution

by:ttornqvist
ttornqvist earned 332 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 332 total points
ID: 38792851
Is there a relationship between SecurityId and Id?
0
 
LVL 19

Accepted Solution

by:
helpfinder earned 336 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

Independent Software Vendors: 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.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
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…

688 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