G
Guest
I have an Employees Table that lists names, phone, email, dept, etc.
Department 01700 has subdepartments such as 01701, 01702, etc; department
02000 has subdepartments such as 02001, 02002, etc. I would like to count
the number of employees in department 01700 (including its subdepartments)
for one total amount of 01700 employees; and do the same for all employees in
02000 (including its subdepartments) as one total amount, etc. for all 40
departments. I have tried several versions of counting left, counting right,
etc. but can't seem to get anything to combine the departments correctly.
How can I roll-up all subdepartments into a main department total? Thanx.
Department 01700 has subdepartments such as 01701, 01702, etc; department
02000 has subdepartments such as 02001, 02002, etc. I would like to count
the number of employees in department 01700 (including its subdepartments)
for one total amount of 01700 employees; and do the same for all employees in
02000 (including its subdepartments) as one total amount, etc. for all 40
departments. I have tried several versions of counting left, counting right,
etc. but can't seem to get anything to combine the departments correctly.
How can I roll-up all subdepartments into a main department total? Thanx.