Timesheets that hold up

Excel timesheet formulas that work

Excel timesheet columns and formulas for hours worked, unpaid breaks, totals over 24 hours, decimal hours, billable amounts and totals by client.

Updated · 5 min read · 10 questions answered

Short answer

Lay the sheet out as one row per entry with Date, Person, Client, Project, Description, Start, End, Break and Billable columns. Hours are =(End−Start)×24 minus the break in hours, wrapped in MOD for overnight work. Format time totals as [h]:mm so they pass 24 hours, multiply time values by 24 to get decimals, and use SUMIFS to total by client or billable status. Lock the formula cells and protect the sheet to stop accidental edits.

Laying out the sheet

What columns does a client timesheet need in Excel?

Link to this answer: What columns does a client timesheet need in Excel?

One row per time entry, with these columns. Keeping every entry in one long table (rather than one block per day) is what makes the totals and filters below work.

ColumnExampleNotes
A Date2026-03-03A real date, not text
B PersonAnaUse the same spelling every time
C ClientNorthwindPick from a list if possible
D ProjectSpring campaign
E DescriptionDrafted landing page copy
F Start09:00Time value
G End10:30Time value
H Break (min)0Unpaid minutes inside the entry
I Hours1.5Formula, decimal hours
J BillableYesYes or No
K Rate120Hourly rate for this entry
L Amount180Formula

Turn the range into an Excel table (Insert › Table) so formulas fill down automatically when you add rows. If you prefer to start from a file, the weekly timesheet template has the core columns.

Formulas for hours

What Excel formula calculates hours from start and end times?

Link to this answer: What Excel formula calculates hours from start and end times?

Subtract the start from the end and multiply by 24 to get decimal hours:

=(G2-F2)*24

Excel stores times as fractions of a day, so 10:30 − 09:00 is 0.0625 of a day; × 24 gives 1.5 hours. If you want the result shown as hours and minutes instead (1:30), leave out *24 and format the cell as h:mm. Microsoft documents both approaches in Add or subtract time.

How do I deduct unpaid breaks in an Excel timesheet?

Link to this answer: How do I deduct unpaid breaks in an Excel timesheet?

Subtract the break after converting it to the same unit. With the break in minutes in column H:

=(G2-F2)*24-H2/60

For 09:00 to 17:30 with a 30-minute break, that is 8.5 − 0.5 = 8.0 hours. If you keep the break as a time value (0:30) instead, use =(G2-F2-H2)*24.

How do I total more than 24 hours in Excel?

Link to this answer: How do I total more than 24 hours in Excel?

Apply the custom number format [h]:mm to the total cell. The square brackets tell Excel to show elapsed hours instead of the time of day, so 28 hours displays as 28:00 rather than 4:00.

Select the cell, open Format Cells, choose Custom and type [h]:mm. Microsoft lists the elapsed-time codes in Format numbers as dates or times. Totals of decimal hours (column I) are ordinary numbers and need no special format.

How do I convert Excel time values to decimal hours?

Link to this answer: How do I convert Excel time values to decimal hours?

Multiply by 24 and format the result as a number, not as time:

=F2*24

A cell showing 7:45 becomes 7.75. If the result still looks like a time, the cell has inherited a time format; change it to Number or General. To convert a text value such as "7:45" that Excel has not recognized as time, use =TIMEVALUE("7:45")*24.

Billing formulas

How do I calculate billable amounts in Excel?

Link to this answer: How do I calculate billable amounts in Excel?

Multiply decimal hours by the rate, and only for billable rows:

=IF(J2="Yes",ROUND(I2*K2,2),0)

For 1.5 hours at 120, the amount is 180.00. ROUND(…,2) keeps each amount to cents. If your agreement applies an increment such as six minutes, round the hours first, for example =MROUND(I2,0.1); see rounding rules before rounding every row.

How do I total Excel timesheet hours by client?

Link to this answer: How do I total Excel timesheet hours by client?

Use SUMIFS with the client name as the condition:

=SUMIFS($I:$I,$C:$C,"Northwind")

Better, put the client names in a small summary table and reference the cell: =SUMIFS($I:$I,$C:$C,N2). Add more conditions for a date range, for example =SUMIFS($I:$I,$C:$C,N2,$A:$A,">="&$P$1,$A:$A,"<="&$P$2). A PivotTable with Client in Rows and Hours in Values gives the same result without formulas. See Microsoft's SUMIFS function reference.

How do I separate billable and non-billable hours in Excel?

Link to this answer: How do I separate billable and non-billable hours in Excel?

Use SUMIFS with the Billable column as the condition, once for "Yes" and once for "No":

  • Billable: =SUMIFS($I:$I,$J:$J,"Yes")
  • Non-billable: =SUMIFS($I:$I,$J:$J,"No")
  • Billable for one client: =SUMIFS($I:$I,$J:$J,"Yes",$C:$C,N2)

Restrict the Billable column to Yes or No with Data Validation (Data › Data Validation › List) so typos such as "yes " do not drop out of the totals.

Keeping the sheet reliable

How do I prevent changes to Excel timesheet formulas?

Link to this answer: How do I prevent changes to Excel timesheet formulas?

Unlock the input cells, then protect the sheet. By default every cell is locked, but locking has no effect until protection is on.

  1. Select the columns people fill in (Date to Break, Billable, Rate).
  2. Open Format Cells › Protection and clear Locked.
  3. Choose Review › Protect Sheet, optionally with a password.

Formula columns stay locked; inputs remain editable. Sheet protection prevents accidents, not determined editing, so keep a backup. Microsoft explains the steps in Lock or unlock specific areas of a protected worksheet.

Why does my Excel timesheet show a negative time?

Link to this answer: Why does my Excel timesheet show a negative time?

Usually because the end time is earlier than the start time, such as an overnight shift from 22:00 to 02:00. In the default 1900 date system Excel cannot display a negative time and shows ##### instead.

Wrap the subtraction in MOD so it rolls over midnight:

=MOD(G2-F2,1)*24

22:00 to 02:00 then returns 4 hours. If the entry genuinely spans more than a day, record full date-times in Start and End instead. The other common cause is a time typed as text; check with =ISNUMBER(F2), which should return TRUE. Microsoft documents MOD.

Sources

Put the answers to work
on tomorrow’s timesheet.

Try Wrap with your own team. Free for up to 10 active members.