Peke ki te ihirangi

Guides

Invoice template for Excel and Google Sheets

A spreadsheet is a tempting place to make an invoice: it does the maths for you and you already own it. This guide shows the exact formulas to build a working invoice in Excel or Google Sheets - line totals, subtotal, a VAT row and the grand total - then explains honestly where spreadsheets help, where they quietly hurt your billing, and when a free generator is the safer choice.

7 min read · 17 Pipiri 2026

Why people invoice in Excel or Sheets

Excel and Google Sheets are everywhere, they cost nothing extra, and they handle arithmetic without you reaching for a calculator. For a freelancer sending the occasional bill, a spreadsheet feels like the path of least resistance: open a grid, type the work, let the cells add it up, and print to PDF. That instinct is reasonable - calculation is exactly what a spreadsheet is good at.

The catch is that an invoice is not just a sum. It is a sequentially numbered legal record that has to stay consistent across dozens or hundreds of documents, survive an audit, and not silently change after you send it. A spreadsheet does the arithmetic brilliantly and does the record-keeping part poorly. The rest of this guide takes both halves seriously: first the formulas that make a spreadsheet invoice work, then the gaps you should know about before you rely on one.

Setting up the invoice grid

Start with a clean layout. Put your business name, address and contact details in the top rows, the customer block just below, and the invoice number and dates to the right. Leave a few rows for the line-item table, then a small block at the bottom right for subtotal, tax and total. Both Excel and Google Sheets work identically here - the formulas in the next sections are the same in both, with one or two function-name notes.

Header block
Your name/company, address, VAT or tax number, email and a logo cell if you want branding.
Bill-to block
Customer name, address and their VAT number where the transaction needs it.
Invoice meta
Invoice number, issue date and due date - typically cells like F4, F5, F6.
Line-item table
Columns for Description, Quantity, Unit price and Line total (for example A10 to D25).
Totals block
Subtotal, VAT/tax and grand total stacked in the lower-right, each driven by a formula.

Formula 1: line totals (quantity x price)

Each row in the item table multiplies quantity by unit price. If quantity is in column B and unit price in column C, the line total in D10 is simply =B10*C10. Copy that formula down every row of the table.

To stop empty rows showing a stray 0 or an error, wrap it so blank rows stay blank: =IF(B10="","",B10*C10). This keeps the invoice tidy when you only fill three of ten rows. Format column D as currency (Format → Number → Currency) so it displays with your symbol and two decimals rather than a raw number.

Formula 2-4: subtotal, VAT row and grand total

With the line totals in place, the bottom block is three short formulas. The subtotal adds up every line total: =SUM(D10:D25). The VAT/tax row multiplies that subtotal by your rate - if the subtotal sits in D27 and you charge 21% VAT, the tax cell is =D27*0.21, or better =ROUND(D27*0.21,2) so it rounds to two decimals like the printed figure. The grand total then adds the two: =D27+D28.

Subtotal
<code>=SUM(D10:D25)</code> - totals every line in the item table. Identical in Excel and Sheets.
VAT / tax
<code>=ROUND(D27*0.21,2)</code> - subtotal times your rate, rounded to 2 decimals. Swap 0.21 for your rate.
Multiple tax rates
If lines carry different rates, add a Rate column and use <code>=ROUND(SUMPRODUCT(D10:D25,E10:E25),2)</code>.
Grand total
<code>=D27+D28</code> - subtotal plus tax. This is the amount due you put in large type.
Amount in words (optional)
Excel has no built-in function; some templates use a long nested formula or a small macro. Sheets needs a script.

Where spreadsheets genuinely help

Be fair to the tool: for the maths, a spreadsheet is excellent and worth using. Change a quantity and every dependent cell recalculates instantly. You can model discounts (=D27*0.9 for 10% off), shipping lines, partial deposits and rounding rules without errors creeping in. For one-off internal estimates, working out what to charge, or sanity-checking a complicated multi-rate bill before you issue the real document, a quick sheet is a perfectly good calculator.

The line between „helpful calculator“ and „risky system of record“ is the moment you start sending those sheets to clients as the actual invoices and relying on them for tax. That is where the next section matters.

Where spreadsheets fail for invoicing

The same flexibility that makes a spreadsheet a great calculator makes it a poor invoicing system. Every cell is editable, nothing is locked, and there is no enforced structure - which is fine for a scratchpad and dangerous for a legal billing record.

No sequential numbering
Most jurisdictions require a gapless, sequential invoice number. A spreadsheet will not assign one - you type it by hand, so you duplicate INV-014 or skip INV-015 and only notice at tax time.
Version chaos
invoice_final.xlsx, invoice_final_v2.xlsx, invoice_FINAL_real.xlsx. With no central record you lose track of which version you actually sent and what was paid.
No real branding or clean PDF
Print-to-PDF cuts columns off, breaks tables across pages and misaligns the totals block. Logos float out of place. Getting a clean, branded PDF every time is fiddly.
No audit trail
A sent invoice should be immutable. A spreadsheet can be edited after the fact with no history, so an amount can change silently - exactly what auditors and clients distrust.
Tax-rounding pitfalls
Cells store full precision while showing two decimals, so a column of rounded-looking numbers can add up to a total that is a cent off. Without <code>ROUND()</code> on every tax line your VAT will not reconcile.
Broken formulas
Insert a row inside the table and your <code>=SUM(D10:D25)</code> range may not extend to it, so the new line is silently left out of the total.
No client list or status
Spreadsheets do not track who has paid, what is overdue, or store reusable customer details - you retype everything each time.

The free-generator alternative

If you want the maths and the record-keeping, a dedicated invoice generator gives you both without the spreadsheet’s downsides. It does the line totals, subtotal, VAT and grand total automatically - the same arithmetic, but with ROUND() handled correctly so your tax always reconciles - and it adds the things a spreadsheet cannot: an automatic sequential number, a clean branded PDF every time, and reusable customer details.

FreeBillGen is free, needs no account and runs in your browser. You fill in the lines, it calculates the totals and tax, assigns the next number, and produces a tidy PDF in 80 languages. Keep the spreadsheet for quick internal calculations if you like, but issue the real invoice from a tool built to be a billing record - not a grid that anyone can quietly overwrite.

Excel invoice template questions

What is the formula for an invoice line total in Excel?

Multiply quantity by unit price. If quantity is in B10 and unit price in C10, the line total is =B10*C10. To keep empty rows blank, use =IF(B10="","",B10*C10). Then total all the lines with =SUM(D10:D25) for the subtotal.

How do I add VAT or sales tax in a spreadsheet invoice?

Multiply the subtotal by your rate and round to two decimals. If the subtotal is in D27 and the rate is 21%, the tax cell is =ROUND(D27*0.21,2). The grand total is then =D27+D28. Always use ROUND() so the displayed figures reconcile with the total to the cent.

Do the formulas differ between Excel and Google Sheets?

For invoicing, no. SUM, IF, ROUND and SUMPRODUCT work identically in both. The differences appear in advanced extras - macros (Excel VBA) versus Apps Script (Sheets) for things like converting an amount to words - but the core invoice formulas are the same.

Why does my spreadsheet VAT total come out a cent wrong?

Cells store full precision but display only two decimals, so rounded-looking numbers can add up to a slightly different total. Wrap every tax calculation in ROUND(...,2) so each figure is stored at the precision you actually show. This is the most common spreadsheet-invoicing error.

Can a spreadsheet handle sequential invoice numbers?

Not reliably. There is no built-in mechanism to assign the next gapless number across files, so you type it by hand and risk duplicates or gaps - which many tax authorities do not allow. A dedicated generator assigns the sequential number for you automatically.

Is a spreadsheet invoice legally valid?

It can be, if it contains every required field and a correct sequential number, but spreadsheets make compliance harder: they have no audit trail, can be edited after sending, and rely on you numbering manually. For a reliable, immutable record most businesses use a dedicated invoice tool instead.

Skip the spreadsheet - create an invoice free

FreeBillGen does the line totals, subtotal, VAT and grand total for you, rounds the tax correctly, assigns the next sequential number and produces a clean branded PDF in 80 languages - free, in your browser, with no account.

Create an invoice

This guide is general information, not tax or legal advice. Invoicing and VAT rules vary by country and change over time; verify the detail for your jurisdiction.