No of People under each Manager

Shreesurya

Board Regular
Joined
Jul 7, 2014
Messages
50
Hi Experts,

Need your help to calculate number of people under each manager. Please help me the decode this complications.

[TABLE="class: grid, width: 0"]
<tbody>[TR]
[TD]Name
[/TD]
[TD]Level
[/TD]
[TD]Lead
[/TD]
[TD]Manager[/TD]
[/TR]
[TR]
[TD]Brian[/TD]
[TD]Level 1[/TD]
[TD]Alfred[/TD]
[TD]Sheldon[/TD]
[/TR]
[TR]
[TD]Erick[/TD]
[TD]Level 1[/TD]
[TD]Alfred[/TD]
[TD]Sheldon[/TD]
[/TR]
[TR]
[TD]Alfred[/TD]
[TD]Level 2[/TD]
[TD]Sheldon[/TD]
[TD]Raymond[/TD]
[/TR]
[TR]
[TD]Sheldon[/TD]
[TD]Level 3[/TD]
[TD]Raymond[/TD]
[TD]Edward [/TD]
[/TR]
[TR]
[TD]Raymond[/TD]
[TD]Level 4[/TD]
[TD]Edward [/TD]
[TD]Donald[/TD]
[/TR]
</tbody>[/TABLE]

Result I'm expect as below.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Manager
[/TD]
[TD]Level 4
[/TD]
[TD]Level 3
[/TD]
[TD]Level 2
[/TD]
[TD]Level 1[/TD]
[/TR]
[TR]
[TD]Edward [/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Raymond[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Sheldon[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Donald[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]

Please reach out to me if you have any further information is required to help me.

Thank you so much.
Surya Prakash R
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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