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.
| Column | Example | Notes |
|---|---|---|
| A Date | 2026-03-03 | A real date, not text |
| B Person | Ana | Use the same spelling every time |
| C Client | Northwind | Pick from a list if possible |
| D Project | Spring campaign | |
| E Description | Drafted landing page copy | |
| F Start | 09:00 | Time value |
| G End | 10:30 | Time value |
| H Break (min) | 0 | Unpaid minutes inside the entry |
| I Hours | 1.5 | Formula, decimal hours |
| J Billable | Yes | Yes or No |
| K Rate | 120 | Hourly rate for this entry |
| L Amount | 180 | Formula |
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.
- Select the columns people fill in (Date to Break, Billable, Rate).
- Open Format Cells › Protection and clear Locked.
- 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
- Add or subtract time in Excel, Microsoft Support.
- Format numbers as dates or times, Microsoft Support.
- SUMIFS function, Microsoft Support.
- MOD function, Microsoft Support.
- ROUND function and MROUND function, Microsoft Support.
- Lock or unlock specific areas of a protected worksheet, Microsoft Support.