Customize an Excel Employee Attendance Tracker for Variable Work Schedules
Question details
Adjust an employee attendance tracker to account for different work schedules and individual days off.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Employees work different numbers of days each week and may have individual days off.
- Observed behavior
- The tracker should calculate each employee's expected workdays using their schedule and applicable days off.
Open the attendance tracker and identify its employee names, reporting dates, and existing workday formulas. Decide whether individual days off should be excluded from expected workdays or recorded separately as absences.
Use a schedule calendar for changing weekly workdays
Use this method when an employee's scheduled days vary from week to week.
Create one calendar row per employee per date in the reporting period. This lets the tracker count scheduled days without assuming a fixed weekend.
Click the plus button beside the worksheet tabs and name the new sheet Workday Count. Add headers in A1:E1: Date, Employee, Scheduled, Day Off, and Holiday.
In Workday Count, enter one row for each employee and date. Use Yes or No in Scheduled, Day Off, and Holiday; mark applicable holidays and individual days off on each affected employee's row.
On Workday Count, enter an employee name in F2, the reporting start date in G2, and the end date in H2. The name must match the Employee entries in column B.
In I2, enter =COUNTIFS(A2:A10000,">="&G2,A2:A10000,"<="&H2,B2:B10000,F2,C2:C10000,"Yes",D2:D10000,"No",E2:E10000,"No"). Extend the ranges if your calendar has more than 9,999 data rows.
Reference the result cell from the employee's expected-workdays field in the attendance tracker, or repeat the criteria and formula for each employee and reporting period.

Use NETWORKDAYS for a fixed Monday-to-Friday schedule
Use NETWORKDAYS when an employee normally works Monday through Friday and only specific dates need to be excluded.
Calculate variable workdays in WPS Spreadsheets
Open your attendance tracker in WPS Spreadsheets and use a schedule calendar with COUNTIFS to calculate expected workdays for each employee.
- 1. Open the tracker: In WPS Office, open your Excel attendance tracker in Spreadsheets.
- 2. Add a schedule sheet: Click the plus button beside the sheet tabs and name the sheet Workday Count. Add Date, Employee, Scheduled, Day Off, and Holiday headers in A1:E1.
- 3. Enter schedule data: Add one row per employee per date and enter Yes or No for Scheduled, Day Off, and Holiday. Enter an employee name in F2 and the reporting dates in G2 and H2.
- 4. Calculate and link the result: In I2, enter =COUNTIFS(A2:A10000,">="&G2,A2:A10000,"<="&H2,B2:B10000,F2,C2:C10000,"Yes",D2:D10000,"No",E2:E10000,"No"). Reference I2 from the employee's expected-workdays field and repeat for other employees.
- 5. Save the workbook: Use File > Save As to save the updated tracker as an XLSX workbook.

Frequently Asked Questions
Can NETWORKDAYS handle a different schedule every week?
No. NETWORKDAYS assumes Saturday and Sunday are weekends. For changing schedules, list each employee's scheduled dates on a calendar sheet and count them with COUNTIFS.
How do I exclude one employee's day off without affecting everyone else?
On the schedule sheet, mark Day Off as Yes only on that employee's row for the date. In a NETWORKDAYS setup, include the date only in that employee's exclusion list.
What if an employee works a fixed schedule with different weekend days?
In Excel, use NETWORKDAYS.INTL with the appropriate weekend code or seven-character weekend pattern, plus that employee's exclusion-date range. For example, =NETWORKDAYS.INTL(A3,B3,11,A12:A30) treats Sunday as the only weekend day.
Why does my COUNTIFS result show zero?
Check that the employee name in F2 matches column B, the dates in column A and G2:H2 are real dates, and columns C:E use the Yes and No values specified in the formula. Also confirm that the formula ranges include all relevant rows.




