stephe3333
New Member
- Joined
- Jan 15, 2017
- Messages
- 1
I have a listing of 500 employees with one data field that gives the next reporting manager by name but not employee number. Ultimately there are up to six levels of management to get to the Regional manager. What formulas or structure could I use to create a management hierarchy which will identify the Regional Mgr as Level 1 and all subsequent managers perhaps down to level 6 for every single employee. Some intermediate management will obviously only have a few names and not all the way down to Level 6.
Example below is what i would like where only the first three columns plus last field for immediate reporting mgr.
[TABLE="class: grid, width: 500, align: right"]
<tbody>[TR]
[TD]Emp#[/TD]
[TD]Emp_Name[/TD]
[TD]Job_Title[/TD]
[TD]Leve1_Mgr[/TD]
[TD]Level2_Mgr[/TD]
[TD]Level3_Mgr[/TD]
[TD]Level4_Mgr[/TD]
[TD]Level5_Mgr[/TD]
[TD]Level6_Mgr[/TD]
[TD]Reporting_Mgr[/TD]
[/TR]
[TR]
[TD]aaa123456[/TD]
[TD]Smith, John[/TD]
[TD]Reg Mgr[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]aac999999[/TD]
[TD]Jones, Bob[/TD]
[TD]Worker[/TD]
[TD]Smith, John[/TD]
[TD]Jordan, Michael[/TD]
[TD]Manning, Peyton[/TD]
[TD]Julio, Jones[/TD]
[TD]Roy, Patrick[/TD]
[TD]Harper, Bryce[/TD]
[TD]Harper, Bryce[/TD]
[/TR]
[TR]
[TD]aab555555[/TD]
[TD]Jackson, Bo[/TD]
[TD]Super[/TD]
[TD]Smith, John[/TD]
[TD]Jordan, Michael[/TD]
[TD]Manning, Peyton[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Manning, Peyton[/TD]
[/TR]
</tbody>[/TABLE]
Example below is what i would like where only the first three columns plus last field for immediate reporting mgr.
[TABLE="class: grid, width: 500, align: right"]
<tbody>[TR]
[TD]Emp#[/TD]
[TD]Emp_Name[/TD]
[TD]Job_Title[/TD]
[TD]Leve1_Mgr[/TD]
[TD]Level2_Mgr[/TD]
[TD]Level3_Mgr[/TD]
[TD]Level4_Mgr[/TD]
[TD]Level5_Mgr[/TD]
[TD]Level6_Mgr[/TD]
[TD]Reporting_Mgr[/TD]
[/TR]
[TR]
[TD]aaa123456[/TD]
[TD]Smith, John[/TD]
[TD]Reg Mgr[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]aac999999[/TD]
[TD]Jones, Bob[/TD]
[TD]Worker[/TD]
[TD]Smith, John[/TD]
[TD]Jordan, Michael[/TD]
[TD]Manning, Peyton[/TD]
[TD]Julio, Jones[/TD]
[TD]Roy, Patrick[/TD]
[TD]Harper, Bryce[/TD]
[TD]Harper, Bryce[/TD]
[/TR]
[TR]
[TD]aab555555[/TD]
[TD]Jackson, Bo[/TD]
[TD]Super[/TD]
[TD]Smith, John[/TD]
[TD]Jordan, Michael[/TD]
[TD]Manning, Peyton[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Manning, Peyton[/TD]
[/TR]
</tbody>[/TABLE]