OK Smartsheet Formula Nerds... I know you're out there....
I am working on a staffing model. I need to calculate the number of FTEs per month based on FTE Start and Term dates.
I have all of the FTEs listed in a team sheet that looks like this:
Right now, I'm doing a COUNTIFS that is matching based on the Team Name (which is a helper column in my Staffing Model sheet) and comparing the Start and Term dates to the 1st and last day of the month:
=COUNTIFS({HIT Team}, $Team@row, {TM Start}, <=DATE([Column2]$2, [Column2]$3, [Column2]$4), {TM Term}, ISBLANK(@cell)) + COUNTIFS({HIT Team}, $Team@row, {TM Start}, <=DATE([Column2]$2, [Column2]$3, [Column2]$4), {TM Term}, >=DATE([Column2]$2, [Column2]$3, 1)) - 1
The problem I'm running into is when a Team member either left the team mid-month or started on the team mid-month. I don't necessarily want that to count as a whole FTE.
In the 2nd screenshot - this team had 2 TMs who started 8/15, and 2 who term'd 8/16. These should essentially cancel each other out for no net change in TM count that month, but my formula is counting it as 2 extra TMs for August.
So I realize Countifs is not the right function.... but because it's 4:59 PM on a Friday, I'm completely unable to think about how I should approach this....
How about it Formula Gurus...... Got any ideas???