Sum FTEs based on start/end date

JoeCam

New Member
Joined
Nov 20, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
  2. Web
I have two tabs of data. On my "Labor" tab I have a list of employee start & end dates, FTE counts & position titles.
1709367081684.png


On my "Budget" tab, I have the same job levels in column A and the first day of each month across row 1 (starting in column B),
1709367264694.png


I'm trying to write a formula that will populate the number of FTEs into each column on the Budget tab based on their start/end date.
1709367956137.png

This formula is working for the first column, but when I drag it over to February and beyond it doesn't work for me. Also, I'm sure it won't calculate the correct number of FTEs if a resource leaves in the middle of the month, for example. My FTE calculations are based off of calendar days, not business days.

Can anyone assist?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
not sure that should have worked in the first cell
as column D is 2030 - so NOT less than eomonth(1/1/24,0)

=SUMIFS(labour!$E$2:$E$100,labor!$H$2:$H$100,$A3,labor!$D$2:$D$100,">="&B$1,$C$2:$C$100,"<="&EOMONTH(B$1,0))

I have added into one sheet for XL2BB to show easier

Book1
ABCDEFGHIJ
1startendftepostion1/1/242/1/243/1/244/1/24
21/1/243/18/241managerstocker0110
31/1/2412/31/301tech IItech II1111
41/1/2412/31/301LaborerTech 10000
51/1/2412/31/301LaborerManager1110
61/1/2412/31/301LaborerLaborer3333
72/28/243/12/241stocker
8
90.0690.39
Sheet1
Cell Formulas
RangeFormula
G2:J6G2=SUMIFS($C$2:$C$100,$D$2:$D$100,$F2,$B$2:$B$100,">="&G$1,$A$2:$A$100,"<="&EOMONTH(G$1,0))
A9A9=2/29
B9B9=12/31


not sure how to work out the FTE as that is summarised per month , but the data sheet shows 1 , for the full employment period

so for JAN 24
if they left on 10/1/24 - then you want a fraction for that month

for Stocker in my example
then for Feb , as started on 28/2/24 (leap year) -
so 2 days out of 29 days = 0.069 FTE reported in FEB
and in Mar 12/31 = 0.39 FTE reported in MAR

as i say not sure how to do that
 
Upvote 0
Solution
not sure that should have worked in the first cell
as column D is 2030 - so NOT less than eomonth(1/1/24,0)

not sure how to work out the FTE as that is summarised per month , but the data sheet shows 1 , for the full employment period

so for JAN 24
if they left on 10/1/24 - then you want a fraction for that month

for Stocker in my example
then for Feb , as started on 28/2/24 (leap year) -
so 2 days out of 29 days = 0.069 FTE reported in FEB
and in Mar 12/31 = 0.39 FTE reported in MAR

as i say not sure how to do that

Thank you, I did get it to work with the formula you provided! A major problem I had (and probably why it was working in the first column for me) was my "end date" was set to 1930 instead of 2030...

Once I got that corrected your formula worked perfectly. I can always work on the partial FTE calculations later.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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