Hi Everyone,
I have joined this forum just today so first of all hello to everyone.
I have a query, i have a list of employees and their supervisors now I want to count how many direct or indirect reportees under each supervisor.
For example as per the below list "1500031" should have 5 employees and 1500035 should have 6 employees, same way 1500075 should have 16 employees.
You are requested please create a macro for me for the same.
Emp ID Supervisor
1500012 1500031
1500015 1500031
1500019 1500031
1500023 1500031
1500027 1500031
1500031 1500035
1500035 1500039
1500039 1500059
1500043 1500059
1500047 1500059
1500051 1500059
1500055 1500059
1500059 1500063
1500063 1500067
1500067 1500071
1500071 1500075
1500075 311121
Regards
Bookmarks