Free Excel Timesheet Template with Formulas

Formulas & functions · Updated November 23, 2026

Yes, you can get a free Excel timesheet template with built-in formulas that automatically calculate total hours, overtime, and pay. The simplest way is to use Microsoft’s own template gallery (File > New, search “timesheet”), which includes pre-built formulas for weekly, biweekly, and monthly periods. You can also create your own in minutes using basic Excel functions like SUM, IF, and MOD.

What a Timesheet Template Actually Does

A timesheet template is a spreadsheet that records employee work hours—typically start time, end time, and break duration—and then calculates the total hours worked. The “formulas” part is what makes it useful: instead of manually subtracting times and summing columns, Excel does the math for you. A well-designed template also handles overtime, lunch breaks, and different pay rates, and it can produce a weekly or monthly summary.

Built-in Free Templates in Excel

Microsoft Excel ships with several free timesheet templates. To find them:

  1. Open Excel and click File > New.
  2. Type “timesheet” in the search box.
  3. Choose from options like “Weekly timesheet,” “Biweekly timesheet with lunch breaks,” or “Monthly timesheet.”

These templates are fully functional—they include formulas for calculating hours, and many have columns for overtime and sick leave. On a Mac, the path is the same (File > New from Template). If you’re using Excel for the web, go to File > New and search, but note that some templates may not include macros or advanced features.

How to Build Your Own Timesheet Template

If you prefer a custom template, here’s a minimal but effective setup. Assume you have columns: A = Date, B = Start Time, C = End Time, D = Break (in hours), and E = Total Hours.
In cell E2, enter:

=IF(C2<B2, (C2+1)-B2, C2-B2)-D2

This formula handles shifts that cross midnight (e.g., 11 PM to 7 AM). Format the cell as a number with 2 decimal places, not as time. For a weekly total, use =SUM(E2:E8). If you want to calculate pay, add a column for Hourly Rate (F) and use =E2*F2.

For overtime, you can use an IF formula. For example, if regular hours are 8 per day, in G2 enter:

=IF(E2>8, E2-8, 0)

Then regular pay = =MIN(E2,8)*F2 and overtime pay = =G2*F2*1.5 (for time-and-a-half).

Key Formulas to Know

Here are the most useful functions for timesheet templates:

  • SUM – adds a range of numbers, e.g., =SUM(E2:E8) for weekly hours.
  • IF – applies a condition, e.g., =IF(E2>40, "Overtime", "Regular").
  • MOD – returns the remainder after division, useful for converting minutes to hours.
  • TEXT – formats time values as text, e.g., =TEXT(B2, "h:mm AM/PM").
  • NETWORKDAYS – counts workdays between two dates, useful for monthly summaries.

For example, to calculate total hours worked in a week where times are in columns B and C, and you have a lunch break in D, use =SUM((C2:C8-B2:B8)-D2:D8) as an array formula (press Ctrl+Shift+Enter in older Excel, but in Microsoft 365 it works automatically).

Choosing the Right Template for Your Needs

Consider the following when picking or building a template:

  • Pay period: Weekly, biweekly, semi-monthly, or monthly. Make sure the template matches your payroll cycle.
  • Overtime rules: Does your company pay daily overtime (over 8 hours) or weekly overtime (over 40 hours)? Choose a template that calculates the correct threshold.
  • Break policy: Some templates deduct a fixed lunch break; others let you enter actual break times.
  • Multiple pay rates: If employees work different rates (e.g., regular vs. holiday), look for a template with separate rate columns.
  • Exportability: Ensure the template can be easily converted to PDF or CSV for payroll submission.

Common Problems and How to Fix Them

Timesheet templates often run into a few recurring issues:

  • Negative hours: If an employee works from 9 PM to 6 AM, a simple subtraction gives a negative number. Use the IF formula shown earlier to add 1 for the next day.
  • Wrong time format: Excel stores times as fractions of a day, so 12:00 PM is 0.5. If you multiply by 24, you get hours. Always format the result as a number, not as time.
  • Rounding errors: To round to the nearest quarter hour, use =ROUND(E2*96,0)/96.
  • Mac vs. Windows: The formulas are the same, but keyboard shortcuts differ. For example, to enter a formula as an array, on Windows press Ctrl+Shift+Enter; on Mac press Command+Shift+Enter.

Costs and Safety Considerations

Most built-in templates are free, but be cautious about downloading templates from random websites—they may contain macros (VBA) that could be malicious. Always enable macros only if you trust the source. If you use a template with macros, save a copy of your workbook before running them, because macros cannot be undone with Ctrl+Z. Also, ensure your timesheet complies with labor laws in your jurisdiction; for example, some regions require a minimum break duration.

Alternatives to Excel Timesheets

If Excel feels clunky, consider these alternatives:

  • Google Sheets: Offers similar templates and free collaboration, but formulas are identical to Excel for basic timesheets.
  • Online time tracking apps: Tools like Toggl, Clockify, or Harvest automate time capture and integrate with payroll.
  • Dedicated payroll software: QuickBooks or ADP have built-in timesheets that sync with payroll.

However, Excel remains a solid choice for small businesses that want full control and no subscription fees.

Frequently Asked Questions

How do I calculate total hours when the shift crosses midnight?

Use the formula =IF(C2<B2, (C2+1)-B2, C2-B2). This adds 1 (a full day) to the end time if the end time is earlier than the start time, correctly handling overnight shifts.

Can I make a timesheet template that automatically deducts a lunch break?

Yes. Add a column for break hours (e.g., 0.5 for 30 minutes) and subtract it from the total: =((C2-B2)*24)-D2. Make sure the result is formatted as a number.

How do I convert time to decimal hours for payroll?

Multiply the time difference by 24. For example, if B2 is 9:00 AM and C2 is 5:30 PM, then =(C2-B2)*24 returns 8.5. Format the cell as a number with 2 decimals.

Why does my total hours show as 0.00?

This usually happens when the cells are formatted as time, not as a number. Select the total cell, go to Home > Number Format > General, and it will display correctly.

Can I use a timesheet template for multiple employees?

Yes, but you’ll need to add a column for employee name and use a pivot table or SUMIFS to summarize per person. For example, =SUMIFS(E:E, A:A, "John") sums hours for John.

Is there a way to lock the formulas so employees can’t accidentally change them?

Yes. Select the cells with formulas, go to Home > Format > Lock Cell, then protect the sheet via Review > Protect Sheet. Only the input cells should be unlocked before protecting.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.