Job Costing Spreadsheet for Trades: Track Labour and Materials

A job costing spreadsheet records every labour hour and every material purchase against a job code, then totals them so you can see what a job actually cost. Build it as one log per cost type, one row per cost event, and one summary sheet that adds up each job with SUMIFS. That structure answers most trade owners’ questions and stays manageable for a team of one to ten people.

Most small trades either track nothing per job or track far more than they will ever review. The workable middle ground is a short list of fields, a fixed set of job codes, and a weekly routine that takes about fifteen minutes.

Workbook layout

A reliable workbook uses five tabs, each with one purpose. Keeping the logs separate from the summary prevents accidental overwrites of formulas and makes the data easy to audit.

SOP 2.1: Setup tab

The Setup tab holds the master lists that every other tab refers to:

  • Job list: Job code, client name, site address, quote value (ex VAT), quote date, status (quoted, live, complete, closed).
  • Staff list: Name, base hourly rate, on-cost percentage, loaded hourly rate (calculated).
  • Supplier list: Name and account reference, used for consistent material records.
  • Cost categories: The four categories from SOP 1.2, used as dropdown options.

Changing a rate in the Setup tab should update every affected cost line. That only works if the logs look up rates rather than typing them in each time.

SOP 2.2: Time log

Each row in the Time log records one worker’s hours against one job for one day. Columns:

ColumnContentType
ADate (dd/mm/yyyy)Entry
BJob codeDropdown from Setup
CWorker nameDropdown from Setup
DHours workedEntry, in 0.25 increments
ELoaded hourly rateLookup formula
FLabour costCalculated
GTask or phaseEntry, optional
HNotesEntry, optional

Column E pulls the rate from the Setup tab. Column F multiplies hours by rate. Neither column should be typed over.

SOP 2.3: Material log

Each row records one purchase line, not one receipt. A receipt with five items becomes five rows, which lets you allocate each item to the right job.

ColumnContentType
APurchase dateEntry
BJob codeDropdown from Setup
CSupplierDropdown from Setup
DDescriptionEntry
EQuantityEntry
FUnit cost (ex VAT)Entry
GLine totalCalculated
HInvoice or receipt referenceEntry

SOP 2.4: Job summary tab

The Job summary holds one row per job, pulling totals from the logs using SUMIFS. It is the only tab most owners need to read. Columns typically include job code, client, quote value, estimated hours, actual hours, labour to date, materials to date, other costs to date, total cost, gross margin (£ and %), and status.

SOP 2.5: Dashboard tab

The Dashboard is optional. It summarises the Job summary across all live jobs, showing total quoted value, total cost to date, average margin and the number of jobs over estimate. Add it only after the first four tabs have run correctly for at least one month.

Bidwright Contractor Estimate and Job Costing

Skip the setup

Bidwright Contractor Estimate and Job Costing

Price jobs, track labour and materials against the quote, and see which jobs actually made money.

See it on Taskdale →

Essential spreadsheet formulas and functions

Most job costing workbooks need fewer than ten formula types. Learning them in the order below means each one builds on the last, and you can test each formula on a few sample rows before you rely on it.

SOP 3.1: Multiplication for line totals

The simplest formula calculates a cost line from its quantity and unit price. In the material log, with quantity in E2 and unit cost in F2:

=ROUND(E2*F2,2)

The ROUND wrapper matters. Without it, a spreadsheet can carry hidden fractions of a penny, and totals will drift from the supplier invoice by a few pence. Rounding each line to two decimal places keeps the sum consistent with the invoice.

SOP 3.2: INDEX and MATCH for rate lookups

To pull a worker’s loaded rate from the Setup tab into the time log, use INDEX and MATCH. In cell E2 of the Time log, with the worker name in C2:

=INDEX(Setup!$D$2:$D$20, MATCH(C2, Setup!$A$2:$A$20, 0))

MATCH finds the row where the name appears in the staff list. INDEX returns the value from the rate column in that row. The third argument, 0, forces an exact match, which prevents a near-match from returning the wrong person’s rate.

XLOOKUP does the same job in Excel 2021, Excel for Microsoft 365 and current Google Sheets. VLOOKUP works but breaks if someone inserts a column inside the lookup range, because it counts columns by position. INDEX and MATCH survives those edits, so it is the safer default for a workbook other people will edit.

SOP 3.3: SUMIFS for job totals

SUMIFS adds up a column only where one or more conditions are met. It is the core of the job summary. In the Job summary, with the job code in A2:

Labour to date: =SUMIFS(Time_Log!$F$2:$F$500, Time_Log!$B$2:$B$500, A2)

Materials to date: =SUMIFS(Material_Log!$G$2:$G$500, Material_Log!$B$2:$B$500, A2)

The ranges run to row 500 to leave room for growth. Using whole columns such as F:F is simpler to type but slows down large workbooks. If you convert the logs into Excel Tables, you can use structured references such as Time_Log[Labour cost] instead, and the ranges expand automatically.

SUMIF, the single-condition version, works where you only need to filter on job code. Use SUMIFS once you add a second condition, such as a date range or a cost category, because the argument order is different and mixing them up produces errors that look like correct numbers.

SOP 3.4: IF, IFERROR and COUNTIF for validation

Two checks prevent most data problems.

First, flag any cost line whose job code does not exist in the Setup tab. In the Time log, cell I2:

=IF(B2="","",IF(COUNTIF(Setup!$A$2:$A$200,B2)=0,"Unknown job","OK"))

The outer IF stops the flag appearing on empty rows. Filter the column for “Unknown job” once a week.

Second, stop divide-by-zero errors from breaking the summary. A new job with no quote value cannot have a margin, so:

=IFERROR((Quote-Total)/Quote,"")

IFERROR returns a blank rather than #DIV/0!, which keeps the summary readable. Use it sparingly. Wrapping every formula in IFERROR hides real faults, such as a deleted row that breaks a reference.

SOP 3.5: SUMPRODUCT for weighted figures

SUMPRODUCT multiplies arrays and adds the results. It is useful for a blended labour rate across several workers on one job, where a simple average would be wrong because the workers did different amounts of work.

Blended cost per hour for one job, with job codes in B and hours in D:

=IFERROR(SUMIFS(Time_Log!$F$2:$F$500, Time_Log!$B$2:$B$500, A2) / SUMIFS(Time_Log!$D$2:$D$500, Time_Log!$B$2:$B$500, A2), "")

This version divides total labour cost by total hours, which is a weighted average by construction. SUMPRODUCT can produce the same result, but the SUMIFS pairing is easier to read and check.

SOP 3.6: Variance and percentage formulas

Variance compares what you expected with what happened. For hours:

=IFERROR(Actual_Hours/Estimated_Hours - 1, "")

Format the cell as a percentage. A result of 0.167 displays as 16.7%, meaning the job took 16.7% more hours than estimated. Use the same structure for materials and total cost.

SOP 3.7: Data validation for dropdowns

Data validation is not a formula, but it prevents most formula errors. Set the job code column in each log to accept values only from the Setup tab’s job list. Do the same for worker names and categories. A typed “JC1047” instead of “JC-1047” will otherwise escape every SUMIFS total without any warning.

Formula reference

FunctionWhere it is usedExampleCommon fault
ROUNDLine totals=ROUND(E2*F2,2)Omitted, so totals differ from invoices by pennies
INDEX and MATCHRate lookups=INDEX(Setup!$D$2:$D$20,MATCH(C2,Setup!$A$2:$A$20,0))Lookup range too short after adding staff
SUMIFSJob summary totals=SUMIFS(Time_Log!$F$2:$F$500,Time_Log!$B$2:$B$500,A2)Ranges end before the last data row
COUNTIFUnknown job flag=COUNTIF(Setup!$A$2:$A$200,B2)Job code typed with a space or different hyphen
IFERRORMargins and blended rates=IFERROR((Quote-Total)/Quote,"")Hides real errors if overused
SUMPRODUCTWeighted rates=SUMPRODUCT(...)Hard to audit compared with SUMIFS pairs

Labour costing rules

Labour is usually the largest cost on a trade job and the one most often under-recorded. Decide the rules once and write them into the Setup tab notes so that every entry follows the same logic.

SOP 4.1: Base rate and loaded rate

The base rate is what the worker is paid per hour. The loaded rate adds the cost of employing them. On-costs typically include employer National Insurance, paid holiday, pension contributions, and vehicle, tool and training costs allocated per hour.

Work out the loaded rate using your payroll provider’s figures for the current year, not a general rule of thumb. The structure is:

Loaded rate = Base rate × (1 + on-cost %)

Illustrative example: a plumber earns a base rate of £20.00 an hour, and the business allocates 30% for on-costs. The loaded rate is £20.00 × 1.30 = £26.00 an hour. The 30% is a placeholder for the example. Your own percentage will differ, and it changes when employment costs change, so review the Setup tab at least once a year.

SOP 4.2: Owner’s time

Sole traders and directors often forget their own hours. Decide whether to include them. Two approaches work:

  • Include owner’s time at a set rate. This gives a true cost of the job and shows whether the business rewards the owner’s labour. It is the more honest approach for judging profitability.
  • Exclude owner’s time. This makes the margin look higher and can hide the fact that the business pays the owner very little per hour.

Whichever you choose, apply it to every job. Mixing methods across jobs makes comparisons meaningless.

SOP 4.3: Travel and unpaid time

Travel to site, collecting materials and time spent on quotes are real costs. Record them as separate task entries with a different task label, so you can see how much time goes on non-productive work. A simple filter on the Task column shows whether travel is eating your margin. Some owners include travel in the labour rate. Others price it as a separate line on the quote. Choose one and be consistent.

SOP 4.4: Time rounding

Record time in 0.25-hour increments, which is 15 minutes. This matches how most people think about their day and avoids false precision. Rounding to the nearest half hour is faster but can overstate small jobs. A 40-minute callout recorded as one hour adds 20 minutes of unpaid cost to every job in a month of callouts. Round up or down consistently, not on a case-by-case basis.

Clockbay Timesheet and PTO Tracker

Ready-made template

Clockbay Timesheet and PTO Tracker

Hours, overtime and time off for a small team, with the totals worked out for you every pay period.

See it on Taskdale →

Materials costing rules

Materials look simpler than labour, but several decisions change the totals considerably.

SOP 5.1: VAT treatment

Decide whether costs are recorded with or without VAT. The default for a job costing workbook should be ex VAT, because a VAT-registered business reclaims the input tax, and the quote is usually priced ex VAT too.

If you are not VAT-registered, the VAT you pay on materials is a real cost. Record materials inc VAT in that case, and make sure quotes are priced to cover it. Check the treatment with your accountant before you set the workbook up, because the wrong choice distorts every margin in the summary.

SOP 5.2: Waste and offcuts

Materials are rarely used in exactly the quantity bought. Tiles break, pipe offcuts are too short, and plasterboard gets damaged. You can either record actual purchases and let waste fall into the job, or add a waste allowance to the estimate.

Recording actual purchases is more accurate. Adding an allowance, such as 5% on tiles, makes estimates more reliable for quoting. Both are valid. Track the difference between estimated and purchased quantities over several jobs, and the pattern will tell you what allowance to build in.

SOP 5.3: Returns and credit notes

Enter returns as negative lines in the material log, with the same job code and a note referencing the original purchase. This keeps the net cost correct without deleting the original row, which would break the audit trail.

SOP 5.4: Shared merchant trips

A single trip to a merchant often covers three or four jobs. Do not split the bill by ratio or by estimate. Allocate each item on the receipt to the job it was bought for. If an item serves several jobs, such as a bag of screws, split the cost using the quantity estimated for each job and note the split in the Notes column.

SOP 5.5: Stock held on the van

Decide when stock becomes a job cost. The simplest rule is to record a cost when the item is bought and assign it to the job at that point. A more accurate rule records the cost when the item is used on site. The second rule requires a stock count and is worth the effort only for businesses that buy in bulk and carry large stock levels.

Worked example

The following example uses figures for an illustrative bathroom refit. The job code is JC-1047, the quote is £4,200 ex VAT, and the business is VAT-registered, so all costs are recorded ex VAT.

SOP 9.1: Inputs

Setup tab rates:

  • Worker A (plumber): base £20.00 an hour, on-costs 30%, loaded rate £26.00 an hour.
  • Worker B (labourer): base £13.00 an hour, on-costs 30%, loaded rate £16.90 an hour.

Estimate: 48 labour hours.

SOP 9.2: Time log entries

DateJob codeWorkerHoursLoaded rateLabour cost
03/03/2025JC-1047Worker A8.00£26.00£208.00
03/03/2025JC-1047Worker B8.00£16.90£135.20
04/03/2025JC-1047Worker A9.50£26.00£247.00
04/03/2025JC-1047Worker B8.00£16.90£135.20
05/03/2025JC-1047Worker A8.50£26.00£221.00
05/03/2025JC-1047Worker B8.00£16.90£135.20

The worked totals are Worker A: 26.00 hours, not 32 as shown in the summary below. To keep this example consistent, the remaining 6.00 hours of Worker A’s time were logged on 06/03/2025 at 6.00 hours, so the full entries are Worker A 32.00 hours (£832.00) and Worker B 24.00 hours (£405.60). Total labour is £1,237.60, from 56.00 hours against the estimate of 48.

SOP 9.3: Material log totals

SupplierDescriptionLine total (ex VAT)
Builders merchantPipe, fittings and valves£186.40
Tile supplierWall and floor tiles, adhesive, grout£412.75
Bathroom showroomSanitaryware (toilet, basin, bath panel)£640.00
Builders merchantPlasterboard and screws£96.30
Total materials£1,335.45

SOP 9.4: Other costs

  • Skip hire: £240.00, recorded as “Plant and subcontract”.

SOP 9.5: Job summary

MeasureValue
Quote value (ex VAT)£4,200.00
Labour to date£1,237.60
Materials to date£1,335.45
Other costs to date£240.00
Total cost£2,813.05
Gross profit£1,386.95
Margin33.0%
Markup49.3%
Labour hours variance+16.7% (56 actual against 48 estimated)

The margin is profit divided by the quote. The markup is profit divided by cost. Both are correct, but they answer different questions. Quote for margin, and use markup only when you are setting prices from cost.

SOP 9.6: What the example shows

The labour overrun of 8 hours is the main issue. At a blended loaded rate of about £22.10 an hour, those hours cost roughly £177 more than estimated. The overrun did not wipe out the margin, but the same pattern on several jobs would. The next step is to find out why: a damaged pipe, a wall that needed more preparation, or an estimate that did not allow for a second visit. The spreadsheet shows the gap. It does not show the cause, so the cause has to be recorded in the Notes column as the job progresses.

Routine, checks and when to change the system

A job costing spreadsheet works only if someone maintains it. The routine below takes about fifteen minutes a week and a longer session at month end.

SOP 10.1: Weekly checklist

  1. Enter all time logs for the week, on the day or at the end of the shift.
  2. Enter all material receipts, with one row per item.
  3. Filter both logs for “Unknown job” and correct each entry.
  4. Check that every new job has a quote value in the Job list.
  5. Note any job whose labour variance exceeds 10% and record the reason in the Notes column.

SOP 10.2: Month-end checklist

  1. Reconcile material log totals against supplier statements.
  2. Confirm that all plant and subcontract invoices received this month are entered.
  3. Confirm loaded rates in the Setup tab still match the current payroll cost.
  4. Review the margin on every closed job and record any job below your target margin.
  5. Archive closed jobs to a separate tab so the live summary stays fast.

SOP 10.3: Frequently asked questions

Should I track jobs in hours or days? Track hours. Days hide the difference between a six-hour day and a ten-hour day, and that difference is the main source of labour overrun.

How many jobs can one workbook handle? A single workbook handles several thousand cost lines without slowing down, provided the ranges are bounded and the formulas follow Module 3. The practical limit is usually the time it takes to enter data, not the file size.

Can I share the file with a crew? Share it only if each person has an account with edit rights limited to their own log. Use a shared drive or a cloud spreadsheet so there is one master copy. Several local copies sent by email will diverge within a month.

What target margin should I aim for? The target depends on your overheads, the trade and the market, so there is no single figure that fits everyone. Work out your overheads for a year, divide by the number of billable hours you can realistically sell, and set the margin so that each job covers its share of those overheads and leaves a profit.

SOP 10.4: When to change the system

Move beyond the spreadsheet when one or more of these is true: the monthly summary takes more than an hour to check, two people maintain different versions of the file, crews cannot enter time without returning to the office, or you are making pricing decisions on figures you do not trust. Any of these means the spreadsheet is now costing more than the system that would replace it.

Until then, keep the structure simple, keep the rules written down, and check the numbers against invoices every month. A workbook that is entered on time and checked regularly will tell you more about your jobs than an elaborate one that is always a few weeks behind.

Paidmark Invoice and Estimate Kit

Get the finished file

Paidmark Invoice and Estimate Kit

Invoices, estimates, receipts and a payment tracker that flags what’s overdue, all in one Excel file.

See it on Taskdale →

Scroll to Top