Why is this Look Up table not finding some of the zip codes

Hello Excel experts!

I am using a simple lookup table on a spreadsheet.  It consists of a zip code and a county name,  It seems to be working fine.   It basically looks at the zip code and adds the county to Column M.
=IFERROR(VLOOKUP(J2,Table99,2,FALSE),"Not Found")

Open in new window

However this morning I added some additional cities and zip codes to the look up table.   And the same formula is not working on those new zip codes.

For example, in the attached spreadsheet E 22 has a zip of 92821.  The formula is not finding it in the lookup table (even though it is there) and indicates so in column  M as "Not Found".   However 92821 is indeed in the Lookup table.  

I colored those columns and rows yellow and red so you can easily find them.

The entire issue is all in the attached spreadsheet.  I have removed names and addresses with a generic substitute for privacy.

Thanks for any clarification your can provide!

Rowby
experts-exchange-not-foundxlsx.xlsx
LVL 9
Rowby GorenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

barry houdiniCommented:
Hello Rowby,

Is your formula looking up the correct zip code? You mention the zipcode in E22 but your formula is looking up J22, should formula be this in M2 copied down:

=IFERROR(VLOOKUP(E2,Table99,2,FALSE),"Not Found")

regards, barry
0
Rowby GorenAuthor Commented:
Hi Barry,

Sorry the formula is looking in J22 .  I typed in wrong in the sentence here on EE.

But i f you look at the actual preadsheet it's =IFERROR(VLOOKUP(J2,Table99,2,FALSE),"Not Found")

Any thoughts?  I poked around the lookup table. It's definately Table99

Rowby
0
barry houdiniCommented:
....but then I think "Not found" is correct when you get that value, e.g. in M20 you are using this formula

=IFERROR(VLOOKUP(J20,Table99,2,FALSE),"Not Found")

J20 = 89121

89121 doesn't exist in your table

regards, barry
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Rowby GorenAuthor Commented:
Hmmmm   Let me look this thing over!

:)

ROwby
0
Rowby GorenAuthor Commented:
Hi  barryhoudini

Thanks for helping me troubleshoot this.

Indeed I had a messed up lookup table.

I fixed it and it's working fine

Rowby
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.