I have the following dataset:
Unique ID | Employee Name | Position Name | Manager Name | Line Manager Position |
1 | Employee A | Consultant | Employee B | Senior |
2 | Employee B | Senior | Employee C | Manager |
3 | Employee C | Manager | Employee D | Senior Manager |
4 | Employee D | Senior Manager | Employee E | Director |
5 | Employee E | Director | Employee H | Partner |
6 | Employee F | Analyst | Employee A | Consultant |
7 | Employee G | Analyst | Employee A | Consultant |
8 | Employee H | Partner |
As you can see, I need to assign a hierarchy starting from Level 1 (at the top) all the way down to as many levels as possible.
I have a massive dataset hence I will need a macro that is aligned to this format please.
Thank you very much.
Regards,
Nicholas