Invosphere
Create invoice

Excel Invoice Template: How to Build One With Formulas (2026)

Excel invoice template guide from Invosphere, 2026

By Muhammad Wasim, founder of ToolSphare · Updated 2026-11-25 · ~7 min read

An Excel invoice template is a spreadsheet laid out as an invoice: your business details at the top, a table of line items in the middle, and formulas that add up the subtotal, tax and total for you. It is a popular choice for freelancers and small businesses because most people already have Excel, the file is easy to copy for each new client, and the maths updates itself. This guide shows you how to build a clean Excel invoice template from a blank workbook, which formulas to use, how to number invoices automatically, and when a dedicated generator is the quicker option.

Excel invoice template guide from Invosphere, 2026
An Excel invoice template adds up line items, tax and the total for you.

What to include in an Excel invoice template

Whatever tool you use, an invoice needs the same core information. Lay out your sheet so these fields are easy to find and hard to forget:

  • Your details: business or trading name, address, email, phone and, if you are registered, your tax number.
  • Logo (optional) in the top-left or top-right corner.
  • The word “Invoice” in a large heading so the document type is obvious.
  • Invoice number, invoice date and due date in a small block near the top.
  • Bill to: client name, company, address and a purchase order number if they gave you one.
  • Line items: description, quantity, unit price and line total.
  • Subtotal, discount, tax and total due, calculated with formulas.
  • Payment terms and payment details: how and by when to pay.
  • A short note such as a thank-you or a reference to the project.

If you are not sure which fields your country requires, our guide on how to create an invoice walks through each field in detail.

How to build an Excel invoice template step by step

You can download ready-made templates, but building your own takes about twenty minutes and gives you a layout you understand fully. Here is a simple method.

  1. Set up the page. Open a blank workbook, go to Page Layout, choose A4 or Letter, portrait orientation, and set narrow margins. Turn on View > Page Break Preview so you can see what will print on one page.
  2. Size the columns. Use around five working columns: a wide column for descriptions and narrower columns for quantity, unit price and amount. Merge cells only for headings; merged cells make formulas and sorting awkward.
  3. Add the header. Type your business details in the top-left cells. Insert your logo with Insert > Pictures and place it in the top-right. Put “INVOICE” in a large, bold font.
  4. Create the invoice details block. Label cells for Invoice No., Invoice Date and Due Date, with the values in the cells beside them.
  5. Add the Bill To block. Leave four or five rows for the client’s name, company and address.
  6. Build the line items table. Add headers (Description, Qty, Unit price, Amount) and select the range, then use Insert > Table or Format as Table. A proper table keeps formulas consistent as you add rows.
  7. Add the totals area below the table: Subtotal, Discount, Tax rate, Tax, and Total due.
  8. Write the payment terms and details at the bottom, for example “Payment due within 14 days by bank transfer” followed by your account details.
  9. Format numbers. Apply the Currency or Accounting format to price columns and a date format to date cells.
  10. Save it as a template. Choose File > Save As and pick “Excel Template (*.xltx)”. Each time you open it, Excel creates a fresh copy, so you never overwrite the original.

Design tips that keep it readable

  • Stick to one font and two or three sizes.
  • Use one accent colour for headers and the total row.
  • Right-align numbers so the decimals line up.
  • Remove gridlines (View > untick Gridlines) so the sheet looks like a document, not a spreadsheet.

Excel invoice formulas that do the work

The main reason to use Excel instead of a word processor is that it calculates for you. The table below shows a simple set of formulas, assuming quantity is in column C, unit price in column D and the amount in column E.

FieldExample formulaWhat it does
Line amount=C12*D12Quantity times unit price for one line
Hide empty lines=IF(C12="","",C12*D12)Shows nothing until a quantity is entered
Subtotal=SUM(E12:E25)Adds up all line amounts
Discount=E26*F27Subtotal times a discount percentage
Tax=ROUND((E26-E27)*F28,2)Tax on the discounted subtotal, rounded to cents
Total due=E26-E27+E28Subtotal minus discount plus tax
Due date=B6+14Invoice date plus 14 days

Cell references will depend on your layout, so adjust them to match. Using ROUND on the tax line avoids totals that look a cent out because of hidden decimals.

Protect the formulas

Accidentally typing over a formula is the most common Excel invoicing mistake. To prevent it, select the input cells (descriptions, quantities, prices, client details), open Format Cells > Protection and untick Locked. Then use Review > Protect Sheet. You can still type in the input cells, but the formulas cannot be overwritten.

Automatic invoice numbering in Excel

Every invoice needs a unique number, and the numbers should follow a logical sequence. Excel has no built-in invoice counter, so you have three practical options:

  • Manual but disciplined: keep a simple log sheet with one row per invoice (number, date, client, total, paid date). Before creating a new invoice, check the last number and add one.
  • Formula from the log: if the log is in the same workbook, a formula such as ="INV-"&TEXT(COUNTA(Log!A:A),"0000") can suggest the next number. Copy the result as a value once the invoice is final, so the number never changes.
  • A small macro: a VBA macro can increment a stored number each time you open the template. It works, but macro-enabled files (.xlsm) can trigger security warnings and are harder to share.

Whichever you choose, avoid gaps and duplicates. Our guide on how to number invoices explains formats that make payments easy to match.

Prefer not to maintain formulas and counters? The free Invosphere generator calculates totals, tax and discounts and exports a clean PDF.

Create an invoice free

Saving and sending your Excel invoice as a PDF

Send clients a PDF rather than the spreadsheet itself. A PDF looks the same on every device, cannot be edited by accident, and does not expose your formulas or other sheets.

  1. Fill in the client, line items and dates in a fresh copy of your template.
  2. Check the total, the due date and the invoice number.
  3. Go to File > Save As (or Export) and choose PDF. Select “Active sheet” so only the invoice is exported.
  4. Name the file clearly, for example INV-0042-ClientName.pdf.
  5. Save the filled-in workbook in a folder for that year so you have an editable record.
  6. Email the PDF with a short message that repeats the amount and due date.

For subject lines and message wording, see our guide on how to send an invoice by email.

Limits of an Excel invoice template

Excel is flexible, but it was not designed as an invoicing system. Be aware of these trade-offs:

AreaExcel templateOnline invoice generator
Setup timeBuild or adapt a layout and formulasFill in a form and download
NumberingManual or macro-basedUsually handled for you
Formula errorsPossible if cells are overwrittenTotals calculated automatically
Tracking paymentsSeparate log sheet you maintainDepends on the tool
Offline useWorks fully offlineUsually needs a browser
CustomisationAlmost unlimitedWithin the tool’s layouts

A sensible approach is to use Excel if you send a handful of invoices a month and like full control, and move to a generator once you find yourself copying the same details repeatedly or chasing formula mistakes. If you work in Google’s tools instead, our Google Sheets invoice template guide covers the same approach there.

Common mistakes to avoid

  • Editing the master template instead of a copy, then losing the blank version.
  • Reusing an old invoice and forgetting to change the number or date.
  • Leaving a previous client’s name in the Bill To block.
  • Hard-typing totals instead of using formulas, so the figures do not add up.
  • Sending the .xlsx file, which the client can edit and which may show hidden sheets.

Excel invoice template FAQ

Does Excel have a built-in invoice template?

Excel offers a gallery of templates when you choose File > New and search for “invoice”. Availability depends on your version and whether you are online. You can use one as a starting point and adapt it, or build your own layout as described above.

Is an Excel invoice legally valid?

The software does not decide validity; the content does. An invoice made in Excel is acceptable as long as it includes the information your tax authority requires, such as a unique number, dates, your details, the customer’s details, a description of what was supplied and the amounts, plus tax details if you are registered.

How do I add a new line to the items table without breaking formulas?

If you formatted the items as an Excel Table, press Tab in the last cell of the table to add a row. The formulas in the amount column copy down automatically and the subtotal range expands.

Should I send the Excel file or a PDF?

Send a PDF. It keeps the layout fixed, prevents accidental edits and does not reveal formulas or other sheets. Keep the Excel file for your own records.

Skip the formulas, create an invoice free

Add your items and tax rate, and download a clean, numbered PDF invoice. No sign-up.

  • 134 invoice and document types
  • 16 country tax presets
  • 35 languages
Open the free invoice generatorBrowse invoice templates
Muhammad Wasim, software engineer and founder of ToolSphare, builds Invosphere’s invoice generator and invoicing software. He writes practical billing guides for small businesses in 16 countries. About Invosphere · Contact
This guide is general information, not legal or tax advice.

Create your invoice in minutes

Open the free Invosphere invoice generator, pick from 134 invoice types and download a PDF. No sign-up needed.