Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Microsoft Excel 2013 VLOOKUP Return Error From Lookup Sheet Duplicate Values

Posted on 2014-03-12
2
Medium Priority
?
622 Views
Last Modified: 2014-03-13
I have a file list of about 200 prospective clients which I've gathered all contact info, minus the state for each unique prospect (Did not have a state column at all during initial contact information gathering; now decided we do need the state). In the midst of attempting to avoid any notable time spent manually adding the states via typing them in, I found an excel file that provides a comprehensive zip code-state listing, where I had hoped to link a VLOOKUP formula in my state column. In using this list (the V-lookup uses the already-known prospect zip code column), I realized that I was getting #N/A returns. This is likely due to the fact that excel does not like your lookup columns to have duplicate values. Is there any short way of fixing this, or a somewhat simple workaround? I have two screenshots, and attached the .xlsx file in reference. Thanks for any help in advance.
excel.png
excel-1.png
REVISED-LEAD-list.xlsx
0
Comment
Question by:Lee Richardson
2 Comments
 
LVL 23

Accepted Solution

by:
Ejgil Hedegaard earned 2000 total points
ID: 39925027
You zip codes on sheet Revised are a mix of text and numbers from different sheets (and some are typed), and likewise on sheet State where some are text and some are numbers.

Changes all zip codes on sheet State to be numbers, and changed the formula in column L to look for numbers.
REVISED-LEAD-list.xlsx
0
 

Author Closing Comment

by:Lee Richardson
ID: 39927136
Well done. Thank you, very much!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
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…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

971 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