Hi all.
This is my first time posting so bear with me with the explanations. I have included a sample table with data below to illustrate a challenge I have. I want to generate headcount and employee turnover data by management chain. i.e. Everyone who reports up the chain to 'x' executive.
To do this i have an extract from a system like below (I cannot change this unfortunately). There are thousands of rows of data in reality - covering both active and terminated employees.
I have already successfully calculated the total headcount as of the beginning of Q42020.
=COUNTIFS(C2:5000,"<1/1/2021",D2:D5000,""+COUNTIFS(C2:C5000,"<1/10/2021",'D2:D5000,">=1/1/2021")
I now want to use the same or similar logic as above but to count the headcount of all people within an Executive's team. e.g. to count all active employees who ultimately report up to Joe Bloggs at the end of Q4 2020 . There are multiple columns for management chain (I just included three for example here). So I want to be able to make a formula to answer the following:
COUNT WORKER IF JOE BLOGGS APPEARS IN COLUMN E, F OR G, AND THE HIRE DATE IS BEFORE 1/1/2021, AND TERMINATION DATE IS BLANK OR MORE THAN OR EQUAL TO 1/1/2021
Obviously i cannot use COUNTIFS to count if Joe Bloggs appears in column E, F, OR G and I have failed so far to make a SUM PRODUCT or other alternative to achieve this...Can anyone help? It's really bugging me! Many thanks.
This is my first time posting so bear with me with the explanations. I have included a sample table with data below to illustrate a challenge I have. I want to generate headcount and employee turnover data by management chain. i.e. Everyone who reports up the chain to 'x' executive.
To do this i have an extract from a system like below (I cannot change this unfortunately). There are thousands of rows of data in reality - covering both active and terminated employees.
I have already successfully calculated the total headcount as of the beginning of Q42020.
=COUNTIFS(C2:5000,"<1/1/2021",D2:D5000,""+COUNTIFS(C2:C5000,"<1/10/2021",'D2:D5000,">=1/1/2021")
I now want to use the same or similar logic as above but to count the headcount of all people within an Executive's team. e.g. to count all active employees who ultimately report up to Joe Bloggs at the end of Q4 2020 . There are multiple columns for management chain (I just included three for example here). So I want to be able to make a formula to answer the following:
COUNT WORKER IF JOE BLOGGS APPEARS IN COLUMN E, F OR G, AND THE HIRE DATE IS BEFORE 1/1/2021, AND TERMINATION DATE IS BLANK OR MORE THAN OR EQUAL TO 1/1/2021
Obviously i cannot use COUNTIFS to count if Joe Bloggs appears in column E, F, OR G and I have failed so far to make a SUM PRODUCT or other alternative to achieve this...Can anyone help? It's really bugging me! Many thanks.
Worker (COLUMN A) | Employee ID (B) | Hire Date (C) | Termination Date (D) | Management Chain - Level 01 (E) | Management Chain - Level 02 (F) | Management Chain - Level 03 (G) |
James Young | 1911456967 | 01/10/2019 | Joe Bloggs | Joe Bloggs | John Smith | |
Bill Brian | 1099809316 | 01/08/2019 | Andy White | Peter North | Phil Gorman | |
Tom Peak | 2004458391 | 08/01/2020 | 20/01/2020 | Tim Booth | Tim Booth | Joe Bloggs |
Caroline Fell | 2006461052 | 29/06/2020 | 31/07/2020 | Tom Fullerson | Brian East | Peter North |
Jade Smith | 1202358187 | 01/08/2019 | Sarah Smith | Sarah Smith | Martin Jones | |
Rebecca Marlow | 2010457287 | 21/10/2020 | Rebecca South | Tim Booth | Sarah Smith |