Headcount by Month from Hire and Termination Dates in Excel

The HR system says the department has 42 people. The budget says 45. Finance’s payroll forecast says 44.6. All three are right. HR counts people on the last day of the month, the budget counts approved positions including three open roles, and payroll counts full-time equivalents for the month, so a hire on the 19th is less than half a person.

Headcount is the biggest driver of cost in most FP&A models, and arguments about it are usually arguments about definitions. This post builds headcount by month from a roster of hire and termination dates in Excel 2021 or 365, with month-end counts, average FTE for cost, and open roles, so each number can be shown next to the others and reconciled.

The roster is the input

One row per person or open position, as an Excel table:

IDName or roleDepartmentHire dateTerm dateFTEStatus
1001AnalystFinance4 Mar 20241.0Active
1002ManagerFinance17 Nov 202512 Feb 20271.0Active
1003Senior analystFinance15 Jan 20261.0Active
TBH-01Systems analystFinance19 Jan 20271.0Open
TBH-02ControllerFinance1 Mar 20271.0Open

Open roles carry a planned start date in the hire date column and a status of Open. Termination dates are blank for anyone not leaving. Part-timers get an FTE below 1. Everything in the plan is calculated from these columns, so when a start date slips, one cell changes.

Refresh the employee rows from the HR system each month rather than editing them by hand. Open roles are maintained by FP&A with the hiring managers.

Month-end headcount with COUNTIFS

Headcount at a month-end is everyone hired on or before that date who has not left by it. People with no termination date count; people whose termination date is after the month-end count:

=COUNTIFS(Roster[Hire date], "<="&C$4, Roster[Term date], "")
 + COUNTIFS(Roster[Hire date], "<="&C$4, Roster[Term date], ">"&C$4)

C4 is the month-end header. Add a department criterion to both halves for a departmental view. For the roster above, month-end headcount is 4 at January 2027 (the manager is still there and the systems analyst has started), 3 at February (the manager left on the 12th) and 4 at March (the controller starts on the 1st).

Whether someone leaving on the last day of the month counts is a definition. With ">"&C$4, they do not. Agree it with HR and write it on the inputs tab.

FTE for partial months

Month-end headcount is the right measure for reporting. For cost, a person hired on the 19th of January is paid for 13 of 31 days. FTE for each person and month is the overlap between their employment and the month, over the days in the month:

=[@FTE] * MAX(0, MIN(IF([@[Term date]]="", C$4, [@[Term date]]), C$4)
        - MAX([@[Hire date]], EOMONTH(C$4,-1)+1) + 1) / DAY(C$4)

This is the same overlap logic as allocating a contract by days, with a blank term date treated as still employed. The systems analyst is 0.42 FTE in January; the departing manager is 0.43 in February. Average FTE for the department is 3.42 in January, 3.43 in February and 4.00 in March.

That FTE grid, multiplied by monthly cost per person, is the payroll forecast. The salary and benefits forecast post builds the cost side.

Open roles and hiring lag

Open roles in the plan are a forecast, and hiring managers are optimistic about start dates. Two adjustments make the plan more honest:

  • A hiring lag. Add a lag in days or months to every open role’s planned date, based on how long recent hires actually took from approval to start. If roles approved for January typically start in March, a plan that assumes January overstates cost by two months per role.
  • A vacancy factor. For large departments, apply a percentage reduction to forecast payroll for the open seats that are always vacant somewhere. Show it as a separate line, so it is a visible assumption, not hidden in the roster.

Report actual and open separately: “42 employees, 3 open roles, 45 approved”. That line resolves most headcount arguments before they start.

Backfills and attrition

Every termination in the forecast either creates an open role (a backfill) or does not. Add a backfill flag to the termination, and a backfill row with a start date after the term date plus the hiring lag. For future attrition not yet known by name, model an expected leavers line rather than inventing names; the attrition and turnover post covers the rate.

Checks

  • Month-end headcount for closed months equals the HR system’s count. Any difference is a definitional gap or a data lag.
  • No hire date is after its term date.
  • Every Open role has a hiring manager and an approval reference.
  • Average FTE times average cost per FTE is close to actual payroll for closed months.

Where it breaks

Rehires. A person who left and returned has two employment periods. Give each period its own row, or the COUNTIFS counts them as continuously employed.

Transfers between departments. A transfer is a termination in one department and a hire in another on the same day. Model it as two rows, or headcount by department double-counts or misses the person.

Leave of absence. Someone on unpaid leave is in headcount but not in FTE for cost. Add an FTE override by month for long absences.

Dates as text. HR exports often bring dates as text. COUNTIFS on text dates returns zero. Check with =ISNUMBER([@[Hire date]]).

Similar Posts