Excel Daily Time Tracking Template: Setup and Formulas

Formulas & functions · Updated December 2, 2026

An Excel daily time tracking template records when work starts and ends, calculates hours, and can summarize time by task or project. In Microsoft Excel for Microsoft 365 on Windows, create columns for date, start time, end time, break, task, and total hours; with start time in B2, end time in C2, and break duration in D2, enter =MOD(C2-B2,1)*24-D2 in E2, then format E2 as a number. This setup also handles a shift that passes midnight.

What a daily time tracking sheet is for

A daily tracker is a simple record of time spent working, usually organized one row per work period or task. It can help an employee prepare a timesheet, help a freelancer understand how long a project takes, or help a manager review team workloads. It is not automatically a payroll, attendance, or compliance system: the spreadsheet only calculates from the information entered, and workplace rules may require more formal records or approvals.

Decide what each row represents before building the sheet. One row per day is convenient when recording a single continuous shift. If someone works on several tasks, use one row per task or work interval instead. For example, separate rows for “Design” and “Client call” make it possible to total project time accurately; putting both activities in a single daily row does not.

Set up the columns and time formats

In a blank worksheet, put clear headers in row 1. A practical starting layout is:

  • A: Date
  • B: Start
  • C: End
  • D: Unpaid break (hours)
  • E: Hours worked
  • F: Project or task
  • G: Notes or approval

Enter actual Excel dates in column A and time values in B and C, rather than text such as “9am.” Select the date cells and choose Home > Number Format to use a date format. Select the start and end cells and choose a time format, such as 1:30 PM. Excel stores times as fractions of a day, which is why subtracting one time from another gives a fraction; multiplying by 24 converts that fraction to hours.

For the example formula above, D2 must contain a numeric break duration in hours: enter 0.5 for a 30-minute break, or 1 for a one-hour break. Format E2 as Number, not Time, because the result is a number of hours. Copy the formula down the column using the fill handle. If the end time is earlier than the start time, MOD treats the shift as continuing into the next day. For a normal same-day shift, the same formula works.

Calculate daily and project totals

Check the result with a concrete example: a 9:00 AM start, 5:30 PM end, and 0.5-hour unpaid break produces 8 hours worked. The elapsed time is 8.5 hours, less the half-hour break. If breaks are recorded as Excel time values instead of decimal hours, use a consistent layout and convert the break to hours in the calculation. For example, with B2 and C2 as start and end times and D2 as a time value, use =MOD(C2-B2,1)*24-D2*24 in E2. In that layout, enter a 30-minute break as 0:30, not 0.5.

To total a period, use a SUM formula. With daily results in E2:E8, enter =SUM(E2:E8) in E9. The example total is the sum of the seven hours values, so verify that all rows cover the intended dates and that blank or incomplete rows have not been mistaken for completed entries.

If you prefer to display a duration rather than decimal hours, calculate elapsed time without multiplying by 24 and apply the custom number format [h]:mm. The square brackets allow totals above 24 hours to display correctly. A regular time format can wrap after 24 hours, making a weekly total appear misleading.

Make entry and review easier

Small design choices can prevent common mistakes and make a template more useful:

  • Convert the range to an Excel Table with Insert > Table. Tables can extend formulas and formatting as new rows are added.
  • Freeze the header row using View > Freeze Panes > Freeze Top Row if the log will be long.
  • Use Data > Data Validation to limit entries where appropriate, such as restricting a status column to “Draft,” “Submitted,” or “Approved.”
  • Use consistent project names. A dropdown list reduces variations such as “Website,” “Web site,” and “Site work.”
  • Keep a separate notes field for unusual circumstances instead of changing formulas or overwriting calculated hours.

For a quick review by project, create a PivotTable from the data table using Insert > PivotTable. Add Project to Rows and Hours worked to Values, and confirm the Values field summarizes by Sum. A PivotTable is often easier to maintain than a collection of manually edited project subtotals.

Common mistakes and limitations

Text that looks like a time may not be recognized as a time value, so a formula can return an error or an unexpected result. If a result looks wrong, check the cell formats and re-enter the time. Another frequent mistake is mixing break conventions: 0.5 means half an hour when the column is decimal hours, but Excel’s time value for half an hour is 0.020833… of a day. Label the column to make the expected entry clear.

Do not assume that an overnight shift is always unambiguous. The MOD formula treats an end time earlier than the start time as next day. That is useful for an overnight shift, but it can also conceal a mistaken entry—for example, typing 5:00 AM instead of 5:00 PM. Review unusual durations and include the date for each shift when work crosses midnight. For multi-day or irregular shifts, recording full start and end date-times is clearer than relying on time-of-day alone.

Excel will not automatically determine whether breaks are paid, whether overtime applies, or whether a record satisfies local employment requirements. Those depend on workplace policy and applicable rules. Use the spreadsheet as a calculation aid, follow the organization’s approved process, and have an authorized person review entries when needed.

Excel template versus other tracking options

A workbook is useful when the process is small, flexible, and easy to review. It is inexpensive if Excel is already available, and users can customize fields without adopting a separate system. Its tradeoffs are manual entry, the risk of accidental formula edits, and the difficulty of coordinating many people in separate copies. Store a shared workbook in an approved location and manage editing permissions; avoid emailing conflicting versions back and forth.

For teams that need reminders, approvals, audit history, integrations, or detailed payroll exports, dedicated time-tracking software may be more suitable. A simple template can still be a good starting point or an export destination, but it does not provide those controls by itself. Before choosing a tool, consider the number of users, approval workflow, reporting needs, data access, and the organization’s record-retention practices.

Frequently Asked Questions

Is there a built-in Excel daily time tracking template?
Excel may offer time or timesheet templates through File > New, depending on the available templates and connected services. You can also create a basic tracker with the columns and formulas above; template availability can vary by installation.

How do I calculate hours worked in Excel?
For start and end times in B2 and C2 and a break entered as decimal hours in D2, use =MOD(C2-B2,1)*24-D2. Format the result as a number. Confirm that the break uses the same units expected by the formula.

How do I track a shift that passes midnight?
Use =MOD(C2-B2,1)*24 for elapsed hours when start and end are time values and no break is being deducted. MOD accounts for the time rollover, but check that an earlier end time really means an overnight shift.

Should I enter breaks as 0.5 or 0:30?
Either is valid if the formula matches the entry. Use 0.5 with a formula that subtracts decimal hours, or use 0:30 with a formula that converts the Excel time value to hours. Label the break column and avoid mixing the two formats.

Can Excel calculate weekly totals?
Yes. If the daily decimal-hour results are in E2:E8, use =SUM(E2:E8). If you instead store durations as time values, format the total as [h]:mm so it can show more than 24 hours.

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.