Remove Weekly Days Off from an Excel Attendance Tracker
Question details
Update an attendance and leave tracker to count every day of the week while still excluding listed holidays.
- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Employees have no regular weekly days off, so the calendar and leave calculations need a custom weekend pattern.
- Observed behavior
- The tracker's fixed weekend setting can exclude a weekday from attendance and leave calculations.
Open the workbook and locate Calendar View cells H20 and H21 and Employee Leave Tracker cell F4. Check the existing formulas for their start date, end date, and holiday-list references so you can retain them.
Use NETWORKDAYS.INTL with no weekly days off
Use a seven-zero weekend pattern to count all weekdays while excluding holidays in the existing holiday list.
The weekend pattern "0000000" marks every day from Monday through Sunday as a working day. NETWORKDAYS.INTL counts both the start and end dates when they are eligible.
The syntax is NETWORKDAYS.INTL(start_date,end_date,weekend,holidays). The holiday list is the fourth argument, not the third.
On Calendar View, select H20 and then H21. In the formula bar, replace each NETWORKDAYS calculation with NETWORKDAYS.INTL, retaining the original start and end date references and using "0000000" as the third argument.
In each updated formula, place the existing holiday reference as the fourth argument. For example, use =NETWORKDAYS.INTL(start_date,end_date,"0000000",lstHolidays), replacing start_date and end_date with the workbook's actual references.
On Employee Leave Tracker, select F4 and edit its formula in the formula bar. Use NETWORKDAYS.INTL with the same seven-zero pattern, preserving its date and holiday references and replacing any existing weekend code such as 16.
Select F4 and drag its fill handle down to the last row of the leave table. Check that the dates in each row are counted as expected.

Update attendance calculations in WPS Spreadsheets
Open your tracker in WPS Spreadsheets and use NETWORKDAYS.INTL with a seven-zero weekend pattern to count every weekday while excluding listed holidays.
- 1. Open the workbook: In WPS Spreadsheets, choose Open and select your attendance tracker.
- 2. Edit the calendar formulas: On Calendar View, select H20 and H21 in turn and edit each formula in the formula bar to use NETWORKDAYS.INTL with "0000000" as the weekend argument.
- 3. Edit the leave formula: On Employee Leave Tracker, select F4 and use =NETWORKDAYS.INTL(start_date,end_date,"0000000",lstHolidays), substituting the existing date references and holiday-list name.
- 4. Fill and save: Drag the fill handle from F4 down the leave table, check the results, and select Save.

Frequently Asked Questions
What does "0000000" mean in NETWORKDAYS.INTL?
It is a seven-character weekend pattern covering Monday through Sunday. Each zero marks that day as a working day, so no weekday is automatically excluded.
Will listed holidays still be excluded?
Yes. Pass the holiday range or named list, such as lstHolidays, as the fourth argument: =NETWORKDAYS.INTL(start_date,end_date,"0000000",lstHolidays).
Can I leave out the holiday list?
Yes. Use =NETWORKDAYS.INTL(start_date,end_date,"0000000") to count every date in the range, including holidays.
Where do I change the formulas in this tracker?
Edit H20 and H21 on Calendar View and F4 on Employee Leave Tracker using the formula bar. Then fill the updated F4 formula down the leave table.




