Home / Excel timesheet template
Excel timesheet template with the formulas explained
Download the free .xlsx timesheet, enter times in the yellow cells and read hours, overtime and gross pay from the blue cells. The formulas are ordinary Excel, and this page explains each so you can change them for your own pay rules.
Download the Excel timesheets
Weekly timesheet (.xlsx) Biweekly timesheet (.xlsx)
Both open in Excel for Windows, Excel for Mac and Excel on the web. Yellow cells are inputs. Blue cells hold formulas and should be left alone unless you want to change a rule. The sheet is set to fit one page wide when printed.
The formulas, one at a time
You do not need to read this to use the sheet. It helps when you want to adapt it.
Date for each day row
=IF($B$6="","",$B$6+0), then +1, +2 and so on down the week. It adds the day number to the workweek start date and stays blank until a start date is entered.
Hours worked for a day
=IF(OR(C12="",D12=""),0,MAX(0,ROUND(MOD(D12-C12,1)*24-N(E12)/60,2)))
- Excel stores a time of day as a fraction of 24 hours. Subtracting time in from time out gives a fraction of a day.
MOD(...,1)fixes shifts that cross midnight, where time out is a smaller number than time in.*24turns the fraction into hours;N(E12)/60subtracts the unpaid break in minutes, andNtreats a blank cell as zero.ROUND(...,2)keeps two decimals andMAX(0,...)prevents a negative result if a break is longer than the shift.
Regular and overtime hours for a workweek
Regular: =MIN(40,F19). Overtime: =MAX(0,F19-40), where F19 is the week total. To use a different weekly threshold, change 40 in both formulas. State rules that count daily overtime need extra columns, which this file does not include.
Pay summary
Regular pay is regular hours times the rate. Overtime pay is overtime hours times the rate times the multiplier in cell B8. The biweekly file adds each week's regular and overtime lines separately, so overtime is never figured on a combined total.
Common Excel timesheet problems
| Problem | Cause | Fix |
|---|---|---|
| Times show as numbers like 0.3333 | Cell format is General | Format the cell as Time, h:mm AM/PM |
| Hours show 0 although times are typed | Times were entered as text, for example with a stray apostrophe | Retype the time or use Data, Text to Columns on the range |
| Total shows as 4:30 instead of 4.50 | Total cell formatted as time | Format it as Number with two decimals |
| A shift past midnight comes out as 20 hours | A different formula that does not use MOD | Use the formula above |
| Dates do not fill | Workweek start date is blank or text | Type a real date, such as 11/23/2026 |
Making it safer to share
If you email the file to workers, protect the formula cells so a stray keystroke does not break them: select the yellow cells, set them as unlocked in Format Cells, then use Review, Protect Sheet. Workers can then type only in the yellow cells. Send the file as a copy for each period so one worker's hours never sit in another's file.
Keep each signed sheet with payroll records. The time cards used to compute wages are kept for two years and payroll records at least three, according to the Department of Labor; see the timesheet records guide.
No Excel? The CSV version loads into Google Sheets; the Google Sheets guide shows how.
Excel timesheet questions
Will the Excel timesheet work in older versions of Excel?
It uses basic functions (IF, MOD, ROUND, MIN, MAX, SUM, N), which have been in Excel for many years, so it should open in older versions. We tested it in LibreOffice, not in every Excel version.
How do I round hours to the quarter hour?
Wrap the daily formula in MROUND(...,0.25), but only if your written pay policy rounds that way. Rounding rules affect pay, so confirm them before changing the sheet.
Can I add more than seven days to a block?
Not in the same block, because each block is one workweek. Add a new block below by copying a whole week block and pointing its start date cell at the previous start date plus seven.
Sources and date checked
Checked 2026-11-23. Vendor pages change; confirm current details with the vendor before you buy or build.