Split hierarchy childs into individual columns

Emilycr

New Member
Joined
May 25, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi there,
I have got an Excel issue I thought it would be easier than it actually is (for me anyway!)
There are 2 columns: Employee ID and Supervisor ID.

The idea is to create a file in which the hierarchy is displayed in multiple columns with lest say CEO Employee ID in column A, then Execs - Direct reports to the CEO in column B, then direct reports to Exec members in column C and so on.

I have tried PowerPivot to create a hierarchy but the resulting hierarchy only provides Supervisor ID in one column and their Direct Reports on another one, not the full hierarchy. Is there a way to solve this?

Regards
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Employee Number = 7618949 reports into 1060419. Employee Id = 1060419 reports into 7360925. What I would like to see is Employee Id = 7360925 in column A, followed by Employee ID = 1060419 in Column B and Employee ID = 7618949 in column C


Employee NumberSupervisor Work Number
1060419​
7360925​
7618949​
1060419​
 
Upvote 0

Forum statistics

Threads
1,214,647
Messages
6,120,722
Members
448,987
Latest member
marion_davis

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