Templates8 min read

How to Make an Invoice in Excel (With the Formulas That Balance)

Build an invoice in Excel from scratch: the columns you need, the formulas for subtotal, tax and total, and the rounding trap that silently breaks the balance.

Short answer, but not a short process

Excel can produce a perfectly good invoice. The work is not in the typing, it is in getting four formulas right so that the total a client checks by hand matches the total your file reports. Get those wrong and you will be reissuing invoices and apologising for a two-cent difference, which costs you far more time than building the sheet properly once.

This walkthrough builds a single-invoice sheet from an empty workbook. It uses a real example throughout: a photographer billing a half-day studio shoot, twelve retouched images, and travel, with 8.25% sales tax.

If you would rather not maintain a spreadsheet at all, the same document is quicker to produce with the free invoice generator, which calculates and exports in one pass. That said, plenty of people want the file on their own machine, and there are good reasons for that. Let us build it.

Set up six columns before you type a number

Start with a blank sheet and write the headers in row 4. Leaving rows 1 to 3 empty is deliberate: you will put the business name, address and invoice number there, and you do not want the item table pushing them around when you add rows later.

ColumnHeaderWhat goes in it
ADescriptionWhat you did, in the client's words, not yours
BQuantityHours, images, days, units — whatever you charge by
CUnit priceThe rate for one unit, before tax
DLine totalA formula, never a typed number
ETax rateOnly if different lines are taxed differently
FNotesOptional per-line note, or leave blank

Column E looks redundant when every line carries the same rate. Keep it anyway. The moment you invoice a mix of taxable and exempt items — printing versus design, goods versus services in some regions — a single tax rate at the bottom of the sheet stops being correct, and retrofitting a per-line column afterwards means rebuilding the sheet.

Step by step

  1. Fill in rows 1 to 3 first. Row 1: your business name. Row 2: your address and contact details. Row 3: the word "Invoice", the invoice number, the issue date and the due date. Use a real date cell (Ctrl+; inserts today's date), not text, so you can sort and filter later.
  2. Add the client block. Put the client's name and billing address two rows below the item table's last row, or in a merged block to the right of your own details. Whichever you choose, keep it clearly separate from the item rows.
  3. Enter the first line item in row 5. In our example: A5 Half-day studio shoot, B5 4, C5 250. Leave D5 empty for one more step.
  4. Turn D5 into a formula. Type =B5*C5. The cell should show 1000. From now on, never type into column D — if you overwrite the formula, the sheet silently stops calculating and nothing warns you.
  5. Add the remaining lines. Row 6: Retouching, 12, 45. Row 7: Travel, 1, 310. Copy the D5 formula down to D6 and D7 by dragging the fill handle (the small square at the bottom-right of the selection). Check that the relative references shifted: D6 should read =B6*C6.
  6. Build the subtotal. In D9 type =SUM(D5:D7). The result is 1850, which is 1000 + 540 + 310. If you get a different number, one of the line cells is text rather than a number — a trailing space or a currency symbol typed into column C will do it.
  7. Add the tax line. In D10 type =ROUND(D9*0.0825,2). That is 1850 × 0.0825 = 152.625, rounded to 152.63. Do not skip the ROUND — see the next section for why.
  8. Add the total. In D11 type =D9+D10. The result is 2002.63.
  9. Check the arithmetic by hand. 1850.00 + 152.63 = 2002.63. If your sheet and your calculator agree, the formulas are sound. Do this once per template, not once per invoice.
  10. Format, then export. Select D5:D11 and apply the currency format with two decimals. Then export with File → Save As → PDF. Do not send the .xlsx — the recipient can edit it, and it may render differently in LibreOffice or Numbers.

The formulas, in one place

CellFormulaResult in the example
D5=B5*C51000.00
D6=B6*C6540.00
D7=B7*C7310.00
D9 (subtotal)=SUM(D5:D7)1850.00
D10 (tax)=ROUND(D9*0.0825,2)152.63
D11 (total)=D9+D102002.63

The rounding trap nobody warns you about

Here is the failure that makes people distrust their own invoice. Suppose one of your line items is 3 × 33.333 = 99.999. The cell displays 100.00 because you formatted it to two decimals. But Excel still stores 99.999. When you sum the column, the stored value is what gets added, so your subtotal is one ten-thousandth lower than the sum of the numbers printed on the page. A client with a calculator gets a different answer, and you look careless.

Two habits prevent this.

First, round each line total: =ROUND(B5*C5,2). Now the stored value and the displayed value are identical, and any column of printed numbers adds up.

Second, decide what you are taxing. If you tax the rounded subtotal, write =ROUND(D9*rate,2). If you tax the raw sum, the tax figure will itself have hidden decimals. Pick one convention, write it down in the sheet as a note, and use it every time. The difference is usually a cent; the cost of being inconsistent is a client query every few months.

A third variant bites people who split tax per line rather than on the subtotal. Summing per-line rounded tax can land a cent away from taxing the rounded subtotal. If your jurisdiction requires per-line tax (some VAT regimes do), then sum the per-line tax and accept that the total is the sum of those rounded figures — do not "fix" it by adjusting the last line by a cent, because that creates an unexplainable number on the invoice.

Excel versus the alternatives

ExcelWordGoogle DocsBrowser generator
Arithmetic is reliableYes, with ROUNDNo, totals are manualYes, via a table formulaYes
Layout survives editingYesTable rows jump when text wrapsMostlyNot applicable
Multiple people can edit at onceOnly in Excel for the webNoYesNot applicable
Sends as a finished documentNo, needs PDF exportYes after exportYes after exportYes, PDF directly
Works with no accountYesYesNo, needs a Google accountYes

The pattern is simple. Spreadsheets win on arithmetic, word processors win on layout, and neither was designed to produce a billing document. That is why people who invoice weekly usually end up on a tool built for the job — see what a template gives you that a generator does not if you are weighing the two.

Common mistakes

  • Typing over the formulas. One stray number in the total column and the sheet looks fine but stops calculating. Protect the formula cells (Review → Protect Sheet) if more than one person uses the file.
  • Currency symbols in the unit price column. $250 is text. 250 is a number. Format the column instead of typing the symbol.
  • Numbering invoices by hand. Invoice 7 works until you have two "Invoice 7"s. Use a sequence that includes the year, such as 2026-007, and keep the counter in a separate cell so the next number is obvious. There is a full method in the invoice numbering guide.
  • No payment terms on the sheet. "Net 30" is not decoration. If the due date is not printed, your client's finance team will file the invoice and pay it whenever. Put the due date in row 3 and repeat the terms near the total.
  • Sending the spreadsheet. Export to PDF. Every time.
  • Forgetting the tax note. If you do not charge tax, say why in one line, for example "VAT not applicable" or a reference to your local small-business scheme. Silence invites the question.

Where to go next

If Word is the tool you already know, the same document can be built there — with one layout problem to watch for, covered in how to make an invoice in Word. If you work in a browser all day and want a file you can share, see how to make an invoice in Google Docs.

And if the arithmetic above is the part you would rather not maintain, the generator on this site does the same four calculations with the rounding already handled, exports a PDF, and needs no account. Whichever route you take, the fields are the same — the checklist of what an invoice must contain is worth reading once before you build any template.

excel invoiceinvoice templatespreadsheet

By Andy W

A freelancer who invoices clients regularly, and the person who built SimplerBill after getting tired of tools that demand an account and upload client details before producing a PDF.

About the author

Create a cleaner invoice

Use SimplerBill to create invoices and receipts in the browser, then download or print a PDF.

Open invoice generator