Index and Match - Sheet Reference

ExcelEndeavor

New Member
Joined
Oct 13, 2020
Messages
8
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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

JEC

Well-known Member
Joined
Aug 21, 2021
Messages
807
Office Version
  1. 365
Platform
  1. Windows
INDEX("a range", "Rowindex", Columnindex")

You should take another look at the INDEX parameters.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
68,247
Office Version
  1. 365
Platform
  1. Windows
Try it like
Excel Formula:
=INDEX(Menus!G2:G48,MATCH(A1,Menus!E2:E48,0))
 
Solution

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
68,247
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

You're welcome & thanks for the feedback.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
68,247
Office Version
  1. 365
Platform
  1. Windows
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,152,403
Messages
5,769,872
Members
425,576
Latest member
niall54321

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
Top