Org Hierarchy - Index & Match?

FuriousD

New Member
Joined
Sep 1, 2016
Messages
35
Office Version
  1. 365
Platform
  1. MacOS
Is it possible to use Index/Match to create an Org Hierarchy? For simplicity sake I've put in a few columns.

So since the manager is Steve in B2, C2 would populate with Steve's manager (Marcia). A result of that D4 would populate with Marcia's manager (Andrew).

A1: Employee Name (John)
B2: Manager Name (Steve)
C3: Manager's Manager (Marcia)
D4: Manager + 2 levels (Andrew)

TIA
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi,

Sorry I don't understand what you are looking for. Where do you want to pull the names from? What would be the output format?
 
Upvote 0
Hi,

Sorry I don't understand what you are looking for. Where do you want to pull the names from? What would be the output format?

Thanks for replying. I was able to figure it out on my own. I was looking to use the employee name and manager name to determine the next level(s) of reporting structure in the org. So who is my manager's manager, etc.

The relevant columns I have are:

D: Employee Name
E: Manager Name
F: Manager +1 Name: [FONT=&quot]=INDEX([/FONT][FONT=&quot]E:E[/FONT][FONT=&quot],MATCH[/FONT][FONT=&quot](E3[/FONT][FONT=&quot],[/FONT][FONT=&quot]D:D[/FONT][FONT=&quot],0[/FONT][FONT=&quot])[/FONT])
G: Manager + 2 Name: [FONT=&quot]=INDEX([/FONT][FONT=&quot]E:E[/FONT][FONT=&quot],MATCH[/FONT][FONT=&quot](F3[/FONT][FONT=&quot],[/FONT][FONT=&quot]D:D[/FONT][FONT=&quot],0[/FONT][FONT=&quot])[/FONT])
H: Manager + 3 Name: [FONT=&quot]=INDEX([/FONT][FONT=&quot]E:E[/FONT][FONT=&quot],MATCH[/FONT][FONT=&quot](G3[/FONT][FONT=&quot],[/FONT][FONT=&quot]D:D[/FONT][FONT=&quot],0[/FONT][FONT=&quot])[/FONT])



[FONT=&quot]
[/FONT]
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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