Index and Match - Sheet Reference

ExcelEndeavor

New Member
Joined
Oct 13, 2020
Messages
11
Office Version
  1. 365
Platform
  1. MacOS
I have a worksheet where I can select an employee name in cell A1 (drop down list) and simply want to show the employee's manager name in A2.

I have the employee list on another sheet called "Menus" in cells E2:E48 and their corresponding manager list is next to it in cells G2:G48 (I have column F as a spacer)

When I select the employee in A1, I simply want Excel to go get the corresponding Manager's name in the "Menus" worksheet and bring it into cell A2 below the employee.

My current formula in A2 looks like this:

=INDEX(MATCH(A1,Menus!E2:E48,0)7

(7 at the end represents the column of the Manager list)

I currently see #REF! - not sure what I am doing wrong. Please advise. Thank you in advance.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
INDEX("a range", "Rowindex", Columnindex")

You should take another look at the INDEX parameters.
 
Upvote 0
Try it like
Excel Formula:
=INDEX(Menus!G2:G48,MATCH(A1,Menus!E2:E48,0))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
In future please do not type your reply inside quotes. It looks as though you are simply making a totally pointless post.
To handle the #N/A, you can simply wrap the formula in IFNA
 
Upvote 0

Forum statistics

Threads
1,213,491
Messages
6,113,963
Members
448,536
Latest member
CantExcel123

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top