Index Match not returning correct values

I am attempting to create a xls that allows the user to input a Emp Id under the correct Manager category that will lookup the Manager name for another worksheet.  What am I missing.  I have included a sample file.

Data extract sheet the user inputs the ID and return the name, except my version is not returning the correct manager name, except for col D:E.

What am I doing wrong:

=IFERROR(INDEX('EMP LIST'!$A:$A,MATCH(1,'EMP LIST'!H2,0)),'EMP LIST'!$B:$B)

Open in new window

kfsSample.xlsx
Karen SchaeferBI ANALYSTAsked:
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.

NorieAnalyst Assistant Commented:
In every one of the formulas INDEX('EMP LIST'!$A:$A,MATCH(1,'EMP LIST'!H2,0)) returns an error so the formula actually returns the value from 'EMP LIST'$A:$A that corresponds to the row the formula is in.

What IDs/values are you actually trying to lookup?
0
Karen SchaeferBI ANALYSTAuthor Commented:
If the user enters the value (ID) in Col A ManagerID I want the correlated name displayed in Col b and the same for each of the different ID columns.SR_MANAGER_ID col(D)
Col A ManagerID , should return Col(B) - Manager Name
Col(d) - Sr_Manager_ID, should return Col(E) - Sr Manager Name
,DIRECTOR_ID (col F) should return Col(g) -  Director Name
0
NorieAnalyst Assistant Commented:
So If I entered, say, 132565 in column A  you would expect to see ALLEN, JEFFERY in column B?

If that's the case this INDEX/MATCH formula, in B2 and copied down, would work, though it could also be done with VLOOKUP.

=IFERROR(INDEX('EMP LIST'!$B:$AB,MATCH(A2,'EMP LIST'!$A:$A,0),1),"")

That formula can also be copied to columns E and G to get the manager name for the SR_MANAGER_ID and DIRECTOR_ID.
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
Karen SchaeferBI ANALYSTAuthor Commented:
Thanks for the great assist, that did the trick.
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.