Rob_010101
Board Regular
- Joined
- Jul 24, 2017
- Messages
- 198
- Office Version
- 365
- Platform
- Windows
Hello,
I have two sheets, named:
1. Master Data - This sheet will be updated daily by pasting a system report over the existing data
2. 2022 - I want to calculate some stats from the master data sheet on this sheet
The gist of this is, I need to report on people who leave between 0 and 5 months (under 6 months) of employment.
Master Data (Anonymised)
2022 (Anonymised)
Stat 1 - total early churn by location
I need to know (numeric) how many people based in location X, who left employment (terminated) in month X (in 2022 only), had between 0 and 5 months employment.
The "total" row is not necessary, just the rows above.
I think stat 2 and 3 I will be ok with as I can amend accordingly, once I have the formula for the above (unless unbeknown to me otherwise!).
Chris
I have two sheets, named:
1. Master Data - This sheet will be updated daily by pasting a system report over the existing data
2. 2022 - I want to calculate some stats from the master data sheet on this sheet
The gist of this is, I need to report on people who leave between 0 and 5 months (under 6 months) of employment.
Master Data (Anonymised)
Chris Ops - Attrition Report (ANONYMISED).xlsm | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | |||
1 | Employee ID (8 Digit) | Employee Name | Employee Reference Code | Status | Employee First Name | Employee Surname | Hire date | Termination Date | Job | Department | Location | Termination Type | Termination Reason | Months Employed | ||
2 | 00000001 | Jimmy Carr | 1 | Terminated | Jimmy | Carr | 01/01/2022 | 01/02/2022 | Manager Comic | TV | St Albans | Resignation | Voluntary | 1 | ||
3 | 00000002 | Rob Beckett | 2 | Terminated | Rob | Beckett | 25/04/2022 | 24/10/2022 | Comic | Stage | Wheathampstead | Dismissal | Involuntary | 5 | ||
4 | 00000003 | Rob Brydon | 3 | Terminated | Rob | Brydon | 01/01/2023 | 01/01/2023 | Manager Comic | Theatre | Harpenden | Did not Start | Voluntary | 0 | ||
5 | 00000004 | Jack Whitehall | 4 | Terminated | Jack | Whitehall | 01/01/2019 | 31/12/2022 | Funny Person | TV | Amwell | Resignation | Voluntary | 47 | ||
6 | 00000005 | John Richardson | 5 | Terminated | John | Richardson | 09/01/2022 | 31/12/2022 | Manager Comic | Stage | Gustard Wood | Dismissal | Involuntary | 11 | ||
7 | 00000006 | Sean Lock | 6 | Terminated | Sean | Lock | 31/12/2022 | 31/12/2022 | Manager Comic | Theatre | Lamer Wood | Did not Start | Voluntary | 0 | ||
8 | 00000007 | Bob Mortimer | 7 | Terminated | Bob | Mortimer | 01/01/2018 | 19/05/2018 | Comedian | TV | Kimpton | Resignation | Voluntary | 4 | ||
Master Data |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A2:A8 | A2 | =IF(OR(ISBLANK(C2)), "", REPT(0,8-LEN(C2))&C2) |
B2:B8 | B2 | =IF(OR(ISBLANK(C2)),"",CONCATENATE(E2," ",F2)) |
N2:N8 | N2 | =IFERROR(IF(OR(ISBLANK(C2)), "", DATEDIF(G2, H2, "M")), "0") |
2022 (Anonymised)
Cell Formulas | ||
---|---|---|
Range | Formula | |
B10:M10 | B10 | =IF(SUM(B3:B9)=0, "", SUM(B3:B9)) |
B25:M25 | B25 | =IF(SUM(B21:B24)=0,"",SUM(B21:B24)) |
Stat 1 - total early churn by location
I need to know (numeric) how many people based in location X, who left employment (terminated) in month X (in 2022 only), had between 0 and 5 months employment.
The "total" row is not necessary, just the rows above.
I think stat 2 and 3 I will be ok with as I can amend accordingly, once I have the formula for the above (unless unbeknown to me otherwise!).
Chris