Calculation Issues

Adjust an Excel Absence Tracker for a Fiscal Year and Christmas Shutdown

Phi Hung VoPhi Hung Vo Nov 14, 2026 869 views

Question details

Adjust an absence tracker to use a first-Monday company year and allocate the Christmas shutdown to the appropriate allowance year.

Adjust an Excel Absence Tracker for a Fiscal Year and Christmas Shutdown
Product
Microsoft Excel
Device & OS
not provided
Scenario
The company year starts on the first Monday of a chosen month, and the December 23 through January 3 shutdown is charged to the allowance year containing December 23.
Observed behavior
The tracker needs to include January 1–3 in the same allowance year as the preceding December shutdown, rather than automatically assigning those dates to the new calendar year.
Before you start

Identify the month in which the company year starts and confirm which weekdays and public holidays should be charged as leave. The example below assumes Monday through Friday are working days and listed public holidays are not charged.

Solution 1Recommended

Assign shutdown dates to the December allowance year in Excel

Use helper columns to calculate the company year and count chargeable shutdown days without relying on a calendar-year tracker.

This example labels each allowance year by the calendar year in which it starts. For shutdown dates, it uses December 23 as the allocation date, so January 1–3 receive the same allowance-year label as the preceding December 23.

The formulas count shutdown days separately from other absences. Adapt the cell references to your tracker and exclude shutdown dates from any other leave calculation so they are not deducted twice.

1
Set up dates and rules

On a worksheet, list actual Excel dates in column A starting at A2, including December 23 through January 3. Enter the company-year start month as a number from 1 to 12 in H1, and list nonchargeable public holiday dates in J2:J100.

2
Create an allocation date

In B2, enter =IF(A2="","",IF(AND(MONTH(A2)=1,DAY(A2)<=3),DATE(YEAR(A2)-1,12,23),IF(AND(MONTH(A2)=12,DAY(A2)>=23),DATE(YEAR(A2),12,23),A2))) and fill down. This maps every shutdown date to December 23 while leaving other dates unchanged.

3
Calculate the allowance year

In C2, enter =IF(B2="","",YEAR(B2)-IF(B2<DATE(YEAR(B2),$H$1,1)+MOD(8-WEEKDAY(DATE(YEAR(B2),$H$1,1),2),7),1,0)) and fill down. The result is the start year of the company year containing the allocation date.

4
Count chargeable shutdown days

In D2, enter =IF(A2="","",IF(AND(OR(AND(MONTH(A2)=12,DAY(A2)>=23),AND(MONTH(A2)=1,DAY(A2)<=3)),WEEKDAY(A2,2)<=5,COUNTIF($J$2:$J$100,A2)=0),1,0)) and fill down. Each chargeable shutdown weekday returns 1; weekends and listed public holidays return 0.

5
Total and test the deduction

Enter an allowance start year in H2 and use =SUMIF(C2:C400,H2,D2:D400) to total its shutdown deduction. Check December 23, December 31, and January 1–3 across a year boundary, then add this total to other leave deductions that exclude shutdown dates.

Assign shutdown dates to the December allowance year in Excel
Adjust for your leave policy: If public holidays during the shutdown are charged against leave, remove the COUNTIF condition from the D2 formula. Change the weekday test if the employee has a different working schedule.
Work with absence trackers in WPS

Calculate fiscal-year shutdown leave in WPS Spreadsheets

Open your tracker in WPS Spreadsheets and use helper columns to allocate the shutdown to the December allowance year and total chargeable days.

  1. 1. Open the tracker: In WPS Spreadsheets, choose Open and select your Excel tracker. List dates in column A, enter the start month number in H1, and list nonchargeable public holidays in J2:J100.
  2. 2. Map shutdown dates: Enter the allocation-date formula from the Excel solution in B2, then drag the fill handle down to map December 23 through January 3 to December 23.
  3. 3. Calculate and count: Enter the allowance-year formula in C2 and the shutdown-day formula in D2 from the solution above. Use the fill handle to copy both formulas down alongside the dates.
  4. 4. Check the total: Enter an allowance start year in H2 and use =SUMIF(C2:C400,H2,D2:D400) to total its shutdown deduction. Check the year-boundary dates and save the file using File > Save As.
Allocate January 1–3 to the same allowance year as December 23Calculate the company-year start using the first Monday of the selected monthOpen and save Microsoft Excel XLSX filesUse familiar spreadsheet formulas and fill-down controls
microsoft office alternative - wps office

Frequently Asked Questions

How does the tracker find the first Monday of the start month?

The formula in C2 uses DATE to get the first day of the month and WEEKDAY with MOD to find how many days to add to reach Monday. If the first day is already Monday, it adds zero days.

Why do January 1–3 use the December 23 allocation date?

The formula in B2 maps those dates to the preceding December 23 so the entire shutdown receives the same company-year label. Their actual dates remain in column A for weekday and holiday checks.

How can I stop public holidays from being deducted twice?

List nonchargeable public holidays as actual dates in J2:J100. The D2 formula uses COUNTIF to return 0 for those dates; also make sure your other absence formulas exclude the shutdown dates counted in column D.

Can I use a different working week?

Yes. Replace the WEEKDAY(A2,2)<=5 condition in D2 with a test that matches the employee's working days, then verify the results against the schedule.