Calculating Employee Turnover to Date from 2 Table

Joined
Aug 30, 2022
Messages
12
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I am looking to see if there is a way to build an employee turnover calculation from 2 tables. Previously I would just arrange the columns in an exact order and do simple calculations, but trying to find something that would faster than aligning everything in exact rows. The goal being that for January, it would just be leavers/headcount, and then for each following period it would be the sum of each month / average of each month. I tried to do a combination of index and match but struggled to get the formula to move with the periods.

Is there a way to do a formula that could pick this data up without much sorting?

For example,

January: January Leavers / January Headcount
June: Sum of leavers January - June / Average January - June

Kind regards,

Antonis
 

Attachments

  • Example excel.JPG
    Example excel.JPG
    68.2 KB · Views: 4

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Note: Fictious data set does not match the image - try:
Book3
ABCDEFGHIJKLM
1
21/1/242/1/243/1/244/1/245/1/246/1/247/1/248/1/249/1/2410/1/2411/1/2412/1/24
3HR283121321433411540491126
4Finance314514334429143242193643
5Accounts295048394149474032492648
6Cus Ser232220504123422845164035
7
8
9
10
111/1/242/1/243/1/244/1/245/1/246/1/247/1/248/1/249/1/2410/1/2411/1/2412/1/24
12Accounts12
13Cus Ser
14HR31
15Finance10
16
17
181/1/242/1/243/1/244/1/245/1/246/1/247/1/248/1/249/1/2410/1/2411/1/2412/1/24
19Finance0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%26.86%
20Cus Ser0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%
21Accounts0.00%0.00%0.00%2.53%2.48%2.24%2.18%2.33%2.67%2.31%8.67%7.26%
22HR0.00%0.00%13.79%11.16%14.68%11.23%8.86%12.28%9.31%9.85%15.50%15.44%
Sheet3
Cell Formulas
RangeFormula
B19:M22B19=LET(headcount,FILTER($B$3:$M$6,$A$3:$A$6=A19),leavers,FILTER($B$12:$M$15,$A$12:$A$15=A19),SCAN(0,leavers,SUM)/SCAN(0,headcount,AVERAGE))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,462
Members
452,915
Latest member
hannnahheileen

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