Lookup Formula Required

Hello,

In Column A of my Spreadsheet I have a list of Account Numbers , each of these numbers is unique. In column B I have a Dept Code. In column D I again have Dept and in E I have State. I want to populate Column C with the right State which corresponds with the correct value by looking up the value in column E. I might not have made sense so have attached the excel spreadsheet.
Lookup-Example.xlsx
NewFocusConsultAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
try place formula:

=VLOOKUP(B2,D:E,2,FALSE)

Open in new window


in C2, and then drag down...

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
LesterClaytonCommented:
=VLOOKUP(B2,D:E,2)

Open in new window


Results:
Lookup-Solution
I've attached your same Excel spreadsheet with the formula included on each line :)
Lookup-Solution.xlsx
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
@LesterClayton,

look for cell C12, there is no correspondent value in col E.
PMI ACP® Project Management

Prepare for the PMI Agile Certified Practitioner (PMI-ACP)® exam, which formally recognizes your knowledge of agile principles and your skill with agile techniques.

LesterClaytonCommented:
Indeed, I was about to edit my post to say "Use Ryan Chong's" solution instead - it takes into account no values found. :)  But I can't edit once somebody else makes a post.

@NewFocusConsult - use Ryan Chong's answer.
NewFocusConsultAuthor Commented:
Thanks
Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
@LesterClayton,

no worries I just want to highlight the error cell cheers.
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
Spreadsheets

From novice to tech pro — start learning today.