Clock — timesheet

Pro workbook: Log, Projects, Week, Setup, Formulas. Sample data, real formulas.

Time log
One row per block of work: date, project from the dropdown, in, out, break. Hours and amount are calculated.
DateProjectInOutBreak (h)HoursBillableAmountNoteTotal hours54.67
2026-09-07Northwind onboarding09:00:0012:30:0003.50yes332.50Flows reviewBillable hours49.67
2026-09-07Internal13:00:0014:00:0001.00noStandup, planningBillable amount5,099.58
2026-09-07Northwind onboarding14:00:0017:30:0003.50yes332.50KYC statesBillable share90.9%
2026-09-08Halden portal08:45:0012:00:0003.25yes357.50Research synthesis
2026-09-08Halden portal12:45:0018:10:000.255.17yes568.33Prototype
2026-09-09Northwind onboarding09:15:0013:00:0003.75yes356.25Save & resume
2026-09-09Sales calls14:00:0015:00:0001.00noIntro call, Tessera
2026-09-09Northwind onboarding15:00:0017:00:0002.00yes190.00Emails
2026-09-10Halden portal09:00:0019:30:0019.50yes1,045.00Usability test day
2026-09-11Northwind onboarding09:00:0012:00:0003.00yes285.00Handover doc
2026-09-11Internal13:00:0016:00:0003.00noFriday learning
2026-09-14Halden portal09:00:0017:00:000.57.50yes825.00Design system
2026-09-15Northwind onboarding09:00:0018:00:000.58.50yes807.50Compliance review
Formulas read rows 5–500. Raise the number in the Projects and Week formulas to log more.
The 13 rows are examples — delete them.
By project
Hours and billable amount per project, from the Log.
ProjectHoursShareRate/hAmountEntries
Northwind onboarding24.2544.4%95.002,303.756
Halden portal25.4246.5%110.002,795.834
Internal4.007.3%2
Sales calls1.001.8%1
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
0.0%
Total54.675,099.5813
By week
Hours per week from the Log, overtime above the Setup threshold, billable amount.
First week (Monday)2026-09-07
Week ofHoursOvertimeBillableAmountDays worked
7 Sep38.6733.673,467.085
14 Sep16.0016.001,632.502
21 Sep
28 Sep
5 Oct
12 Oct
19 Oct
26 Oct
2 Nov
9 Nov
16 Nov
23 Nov
Setup
Projects with an hourly rate and whether they bill; the overtime rule.
Overtime after (h/week)40
ProjectRate/hBillable
Northwind onboarding95.00yes
Halden portal110.00yes
Internal0.00no
Sales calls0.00no
Up to 20 projects. The Log dropdown and the Projects sheet read this list.
How the formulas work
Every formula in this workbook, in plain words. Nothing is hidden and nothing needs a macro. Formulas are shown without the leading = sign.
WhereFormulaWhat it does
Log · HoursIF(OR(C5="",D5=""),0,(D5-C5+IF(D5<C5,1,0))*24-N(E5))Times are fractions of a day; out − in × 24 gives hours. If out is earlier than in (a night shift), a day is added first. N() turns an empty break into 0. Empty rows give 0, hidden by the number format.
Log · BillableIFERROR(INDEX(Setup!$C$6:$C$25, MATCH(B5, Setup!$A$6:$A$25, 0)), "?")Looks the project up on Setup; a project that isn't there shows ? in red.
Log · AmountF5 * INDEX(Setup!$B$6:$B$25, MATCH(B5, Setup!$A$6:$A$25, 0))Hours × the project's rate. Non-billable projects have a rate of 0.
Projects · HoursSUMIF(Log!$B$5:$B$500, A5, Log!$F$5:$F$500)All logged hours for the project.
Week · HoursSUMIFS(Log!$F$5:$F$500, Log!$A$5:$A$500, ">="&A6, Log!$A$5:$A$500, "<="&A6+6)Hours whose date falls in the seven days from the week's Monday.
Week · OvertimeMAX(0, B6-Setup!$B$3)Hours above the weekly threshold.
Week · Days workedSUMPRODUCT((dates in week)*(hours>0) / COUNTIF(dates, dates&""))Counts distinct dates in the week: each row is weighted 1 ÷ how many rows share its date, so a day with three entries counts once.