Overtime tracker in Excel: time off in lieu and running balance

How many hours are you up or down right now? The question is easy until holidays, vacation and time off in lieu get in the way. This tracker works out the standard hours for each month from the work days, takes off the time off in lieu you used and shows the balance in decimal hours and in hours and minutes, even when it goes negative.

In short: standard hours per month = NETWORKDAYS(first,EOMONTH(first,0),Holidays) less vacation and sick days, times hours per day. Extra hours = (worked plus time off in lieu minus standard) times 24. The balance is the carry-over plus all extra hours minus all time off in lieu up to that month. A text formula shows it as h:mm, because Excel cannot display negative times.

You should know: how Excel stores time, SUM and absolute references.

Try it now

An overtime balance is a running total. The formula has to grow as you fill it down without the carry-over moving.

Task In D2, work out the overtime balance at the end of the month: the carry-over in G2, plus all extra hours up to this month, minus all time off in lieu up to this month. The formula is filled down to D7.

ABCDEFG
1 Month Extra hours (h) Time off in lieu (h) Balance (h) Carried over
2 January 5.5 0 12.5
3 February -2 8
4 March 3.25 0
5 April 4 0
6 May -1.5 4
7 June 6 0

Download the overtime tracker

The workbook has three sheets: the tracker for one year, landscape on one Letter page; a Holidays sheet with US federal holidays and bank holidays in England and Wales for any year; and instructions. Only the yellow cells can be edited. You enter the year, hours per day, the carry-over and, for each month, vacation days, hours worked and time off in lieu. The template does the rest.

Preview of the overtime tracker in Excel: work days, vacation and sick days, standard, hours worked, time off in lieu, extra hours and the running balance in decimal hours and as h:mm for each monthEnlarge preview

Download the finished template

The finished Excel file overtime-tracker.xlsx, with sample rows and instructions, is free. All you need is a free account: no subscription, no payment details.

Figures, rates and sample data in the templates are as of 13 November 2026, without guarantee. Check that they still apply to you. The templates are mainly meant to show how to build this in Excel.

Create a free account and download the template Already have an account? Log in

How the tracker is laid out

ColumnContentFormula in row 7 (January)
AMonth=DATE($C$2,1,1)
BWork days=NETWORKDAYS(A7,EOMONTH(A7,0),Holidays)
CVacation, sick (days)input, half days as 0.5
DStandard=MAX(0,B7-N(C7))*$C$3, can be typed over
E, FHours worked, time off in lieuinput as a time, such as 157:30
GExtra hours (h)=IF(E7="","",ROUND((E7+N(F7)-D7)*1440,0)/60)
HBalance (h)=IF(E7="","",$C$4+SUM(G$7:G7)-ROUND(SUM(F$7:F7)*1440,0)/60)
IBalance (h:mm)text formula, see below

NETWORKDAYS counts weekdays without the holidays you pick, which the Holidays sheet works out for any year. With US holidays, January 2027 has 19 work days because New Year's Day and Martin Luther King Jr. Day fall on weekdays; with UK holidays it has 20. Months without hours worked stay blank and leave the balance alone.

Booking time off in lieu

Time off in lieu (TOIL) is paid time off taken out of the balance. So it is not counted twice, the template works in two steps:

  • Extra hours = worked plus time off in lieu minus standard. The day off counts as worked for the month.
  • Balance = carry-over plus extra hours minus time off in lieu. This is where it comes off the balance.

February example: 142 hours worked, one day off in lieu (8:00), standard 152 hours. Extra hours: 142 plus 8 minus 152 = -2. Balance: 18 before, then 18 - 2 - 8 = 8. A full day off and leaving two hours early both go into column F.

Task Standard, hours worked and time off in lieu are times in [h]:mm. In B6, work out the extra hours as decimal hours (worked plus time off in lieu minus standard), in B7 the new balance (last month plus extra hours minus time off in lieu in hours) and in B8 the same balance as a time again.

ABC
1 March
2 Standard 168:00
3 Hours worked 157:30
4 Time off in lieu 16:00
5 Balance last month (h) 12.5
6 Extra hours (h)
7 New balance (h)
8 New balance (h:mm)
9
10

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Balance in decimal hours and h:mm

Payroll works in decimal hours (11.25), people read hours and minutes (11:15). Excel cannot show a negative time, so a balance of -3 hours would appear as ####. The template therefore builds the h:mm display as text:

=IF(H7<0,"-","")&INT(ROUND(ABS(H7)*60,0)/60)&":"&RIGHT("0"&MOD(ROUND(ABS(H7)*60,0),60),2)

It turns the balance into minutes, splits hours and minutes and puts the sign in front. RIGHT("0"&…,2) turns 5 minutes into 05. A negative balance also turns red. More on time values in calculate time in Excel.

US and UK rules

US: under the FLSA, covered non-exempt employees must be paid at least time and a half for hours worked over 40 in a workweek, and hours cannot be averaged across weeks (U.S. Department of Labor). Compensatory time off in place of overtime pay is limited by Section 7(o) of the FLSA to public agencies such as states and their political subdivisions (DOL elaws glossary). In the US, a monthly balance therefore suits flexitime arrangements, exempt employees or public employers, not overtime that must be paid. Track each week with the weekly timesheet.

UK: employers do not have to pay for overtime, as long as average pay for all hours worked stays at or above the National Minimum Wage; overtime pay or time off in lieu comes from your contract (gov.uk). This page is not legal advice.

Changing the standard hours

The standard is a formula in a yellow cell: work days less vacation and sick days, times hours per day. If you work part time on fewer than five days, type your monthly standard over it, such as 80:00. The formula is then gone for that month only.

Common mistakes

Taking time off in lieu off twice

If you count the day off as vacation in column C and also enter it in column F, it comes off twice. Time off in lieu goes only in column F.

Formatting the balance as a time

With [h]:mm, Excel shows a negative balance as ####. Calculate in decimal hours and show h:mm as text.

Typing the carry-over as a time

12:30 in the carry-over cell would be half a day, not 12.5 hours. The carry-over is a decimal number.

A running total without $

Without G$7 the start of the range moves as you fill down, and each row adds up only itself. See absolute references.

Overtime formulas in German Excel

The German version is called Überstundenkonto and uses German public holidays by state.

EnglishGerman
NETWORKDAYS, EOMONTH, DATENETTOARBEITSTAGE, MONATSENDE, DATUM
SUM, ROUND, MAX, IFSUMME, RUNDEN, MAX, WENN
INT, MOD, RIGHT, ABSGANZZAHL, REST, RECHTS, ABS

Which Excel versions support this?

NETWORKDAYS, EOMONTH, SUM and every other function in the template work in all current versions of Excel, including Excel for Mac and Excel for the web. To change the layout, unprotect the sheet; there is no password.

FAQ

Is the overtime tracker free?

Yes. Download the Excel file with a free account, with no subscription and no payment details.

How do I carry the balance into next year?

Copy the file, change the year in C2, clear hours worked and time off in lieu, and enter the current balance (the decimal number) as the carry-over in C4.

How do I turn minutes into decimal hours?

Divide by 60: 15 minutes are 0.25 hours, 45 minutes 0.75. An Excel time becomes decimal hours when you multiply it by 24.

Where do the hours worked come from?

From your time records, such as the weekly timesheet. Enter the monthly total as a time with a colon, such as 157:30.

Can I count half days of vacation?

Yes, enter 0.5 in column C. The standard drops by half a day.

All Excel templates

Weekly timesheet, monthly timesheet, PTO tracker, shift rota and more: each with a build guide and a ready-made file.

See all Excel templates

Write to us

Choose language

Select your preferred language