Track Half-Day Leave and Variable Work Hours in Excel
Question details
The user needs an attendance tracker that supports half-day and hourly leave alongside different work hours by weekday.

- Product
- Microsoft Excel Employee Attendance Tracker template
- Device & OS
- not provided
- Scenario
- Record employee absences and work schedules that include shorter Fridays and potentially weekend work.
- Observed behavior
- The template calculates leave in days, and its existing formulas may mark weekends as unavailable.
Open the attendance workbook and identify the Leave Tracker sheet, the Days column, and any formulas or named ranges that summarize leave. Decide whether balances will be tracked in days or hours; do not mix the two units in the same total.
Enter half-day leave in the Days column
Use this method when the template tracks leave in days and a half-day should count as 0.5 days.
On the Leave Tracker sheet, enter the employee, date, and leave type in the appropriate fields.
Enter 0.5 in the Days column for the half-day absence.
Select the Days column, open Format Cells, choose Number, and set Decimal places to 1.
Review the employee's leave total or balance to confirm it includes 0.5 days.

Adapt the leave tracker to record hours
Use hourly entries when leave can be shorter than half a day or scheduled day lengths vary.
Set up different scheduled hours for each weekday
Use a weekday schedule to calculate expected hours, including shorter Fridays and working weekends.
Build an hourly attendance tracker in WPS Spreadsheet
Use WPS Spreadsheet to record leave hours and calculate scheduled hours for each weekday, including shorter Fridays.
- 1. Open a spreadsheet: Open WPS Spreadsheet and create a blank workbook, or open an existing Excel attendance workbook.
- 2. Add the schedule: Enter weekday numbers 1 through 7 in F2:F8, with Monday as 1, and enter the scheduled hours for each day in G2:G8.
- 3. Add attendance columns: Use columns A through D for Date, Scheduled Hours, Leave Hours, and Hours After Leave. Enter dates in column A and leave hours in column C.
- 4. Calculate the hours: In B2, enter =IF(A2="","",INDEX($G$2:$G$8,WEEKDAY(A2,2))). In D2, enter =IF(A2="","",B2-C2), then copy both formulas down.
- 5. Save and check: Use File > Save As to save the workbook as an XLSX file. Test a Friday and a weekend date to confirm the scheduled hours match your policy.

Frequently Asked Questions
How do I record a half-day holiday in a day-based Excel tracker?
Enter 0.5 in the Days column on the Leave Tracker sheet. To display the decimal clearly, select the column and use Format Cells > Number with one decimal place.
Can I enter two hours of leave in the Days column?
Not directly if the column and its totals are calculated in days. Change the tracker and its related formulas and balances to use hours, then enter 2 as the leave value.
How can I make Friday shorter than other weekdays?
Create a weekday schedule with a separate hours value for each day. Set Friday's hours to the shorter value and use INDEX with WEEKDAY to look up the scheduled hours for each date.
Why are Saturday and Sunday still marked unavailable?
The template may have separate weekend rules in its calendar formulas, data validation, or conditional formatting. Review those rules as well as the weekday hours schedule before enabling weekend work.
Does changing the LeaveTracker named range convert days to hours?
No. Use Formulas > Name Manager to check the range reference, then update the formulas, allowances, and balances that depend on the tracker so they consistently use hours.




