You can build a working timesheet form in Excel in about ten minutes using a simple table, a few formulas, and data validation. The result tracks daily start and end times, automatically calculates hours worked (including overtime), and totals the week. No add-ins or macros are needed. This guide uses Excel for Microsoft 365 on Windows or Mac; the same steps work in Excel for the web, though some menu labels may differ slightly by version, device, or region.
What You'll Need
- Excel installed on your computer or access to Excel for the web.
- A blank workbook.
- Basic familiarity with typing formulas (e.g.,
=SUM()).
Step-by-Step
- Set up the header. In cell A1, type Timesheet. In A2, type Employee Name: and leave B2 blank for the name. In A3, type Week Starting: and enter a date in B3 (e.g.,
1/1/2025). Format B3 as a date if needed (right-click > Format Cells > Date). - Create column labels. In row 5, enter these headers across columns A to H: Date, Day, Start Time, End Time, Break (min), Hours Worked, Overtime, Notes. Bold the row for clarity.
- Fill in the days. In A6, enter the first date of the week (e.g.,
=B3). In A7, enter=A6+1and drag the fill handle down to A12 to cover seven days. Format A6:A12 as dates (e.g., Short Date). In B6, enter=TEXT(A6,"ddd")and drag down to B12 to show the day name automatically. - Add data validation for times. Select C6:D12. Go to Data > Data Validation. Under Allow, choose Time. Set a reasonable range (e.g., between 00:00 and 23:59). This prevents text entries that break formulas. Repeat for E6:E12 with Whole number between 0 and 120 for break minutes.
- Calculate hours worked. In F6, enter
=IF(OR(C6="",D6=""),"",(D6-C6)*24-E6/60). This subtracts start from end, converts to decimal hours, and subtracts break time in minutes. Drag the formula down to F12. Format F6:F12 as Number with two decimal places. - Add overtime calculation. In G6, enter
=IF(F6="","",MAX(0,F6-8))to count hours over 8 per day as overtime. Drag down to G12. If your overtime rule differs (e.g., weekly over 40), adjust the formula or use a separate cell for the threshold. - Total the week. In A14, type Total Hours:. In F14, enter
=SUM(F6:F12). In G14, enter=SUM(G6:G12)for total overtime. Format both as Number with two decimals. - Add a notes column. Column H is for comments (e.g., project codes). No formula needed.
- Format for readability. Select A5:H12 and apply borders (Home > Borders > All Borders). Adjust column widths. Freeze the header row: View > Freeze Panes > Freeze Top Row. Optionally, protect the sheet (Review > Protect Sheet) to prevent accidental formula changes, but leave input cells unlocked first (Format Cells > Protection > uncheck Locked for C6:E12 and H6:H12).
- Save as a template. Go to File > Save As, choose Excel Template (*.xltx), and name it Timesheet. Each new week, open the template and save a copy with the week's date.
Common Mistakes
- Entering times as text. Typing 9am without a space or using a period (e.g., 9.00) can be read as text. Use 9:00 AM or 24-hour format.
- Forgetting to subtract breaks. The formula in step 5 handles it, but if you overwrite F6 manually, breaks are lost.
- Using the wrong overtime rule. Daily vs. weekly overtime changes the formula. Confirm your policy first.
- Not locking formula cells before protecting. If you protect the sheet without unlocking input cells, you cannot enter times.
- Dragging formulas without absolute references. If you reference a fixed cell (like a break threshold), use
$(e.g.,$B$1) so it does not shift when dragged.
Tips
- Use Format Cells > Custom to display hours as
h:mmif you prefer hours and minutes over decimals. - Add a drop-down for project codes using Data Validation > List, pointing to a range of codes on a second sheet.
- Conditional formatting can highlight days over 10 hours: select F6:F12, Home > Conditional Formatting > Highlight Cells Rules > Greater Than, enter 10.
- Keep a separate sheet for employee names and rates if you calculate pay; use VLOOKUP to pull the rate.
- Test with a sample week before rolling out to others.
Troubleshooting
- Hours show as negative or huge numbers. This happens when end time is earlier than start time (e.g., overnight shift). Use
=IF(D6to handle overnight. - Formula returns #VALUE!. A cell contains text instead of a time. Check data validation and re-enter.
- Totals do not update. Ensure calculation is set to Automatic (Formulas > Calculation Options > Automatic).
- Cannot type in a cell. The sheet may be protected. Unprotect via Review > Unprotect Sheet (password if set).
- Dates show as numbers. Format the cells as Date (right-click > Format Cells > Date).
Frequently Asked Questions
Can I use this timesheet for multiple employees?
Yes. Either duplicate the sheet for each person or add an Employee column and use filters. For many employees, consider a table with a name column and pivot tables for summaries.
How do I handle lunch breaks that are unpaid?
The break column already subtracts minutes. Enter the break length in minutes (e.g., 30) and the formula deducts it automatically.
What if my workweek starts on a different day?
Change the date in B3 to the first day of your workweek. The formulas in A6:A12 will follow that start date.
Can I calculate pay from this timesheet?
Add columns for hourly rate and gross pay: =F6*rate. For overtime, use a separate rate. Keep rates on a separate sheet for privacy.
Does this work in Excel for the web?
Yes, but data validation and protection options are slightly limited. The formulas work the same.
How do I print the timesheet cleanly?
Set the print area (Page Layout > Print Area > Set Print Area), choose Landscape orientation, and fit to one page wide (Page Layout > Scale to Fit > Width: 1 page).