ZenInvoice
Create invoice

Published on April 12, 2026

How to Make an Invoice in Excel (With Formulas) and Export It to PDF

Use a free Excel invoice template or build one from scratch with the right formulas, protect them and export the invoice to PDF.

How to Make an Invoice in Excel (With Formulas) and Export It to PDF

Excel is a good tool for invoices if you like to see the math. With a few formulas, the line amounts, taxes and total update every time you change a quantity or price. This guide shows how to use a free Excel invoice template, how to build one from scratch with the right formulas and how to export it to PDF.

Key takeaways

  • Excel includes free invoice templates: File > New and search for “invoice.”
  • Three formulas cover most invoices: =B×C for each line, =SUM() for the subtotal and =ROUND() for tax.
  • Lock the formula cells so you do not overwrite them by mistake.
  • Export to PDF before sending, and keep the .xlsx file for your records.

Option 1: Use a free Excel invoice template

  1. Open Excel and go to File > New.
  2. Search for “invoice” and pick a template (service, sales, simple or with tax).
  3. Replace the placeholder company details, insert your logo and fill in the client’s information.
  4. Type your items, quantities and prices. Most Excel templates calculate the totals.
  5. Save it as a template (File > Save As > Excel Template) so every new invoice starts clean.

In Google Sheets, go to File > New > From template gallery, where you will find an invoice template too.

Option 2: Build an invoice in Excel from scratch

1. Set up the header

In the top rows, type “INVOICE,” your business details and logo (Insert > Pictures). To the right, add Invoice number, Issue date and Due date. Below, add a “Bill to” block for the client.

2. Create the items table

Starting around row 12, create the columns A: Description, B: Quantity, C: Unit price, D: Amount. Leave 10 to 15 rows for items.

3. Add the formulas

  • Line amount (D13): =B13*C13, then drag it down the column.
  • Subtotal (D28): =SUM(D13:D27)
  • Tax (D29), with the rate in C29 (for example 8.25%): =ROUND(D28*C29,2)
  • Total (D30): =D28+D29
  • Due date, 30 days after the issue date in F4: =F4+30

Format columns C and D as Currency (Home > Number > Currency) and the dates as Date.

4. Protect the formulas

Select the cells where you type (description, quantity, price, client details), right-click > Format Cells > Protection and uncheck Locked. Then go to Review > Protect Sheet. Now you can only edit the input cells, and the formulas stay safe.

5. Set the print area

Select the invoice range and go to Page Layout > Print Area > Set Print Area. Use Fit to 1 page so the PDF looks clean.

How to export an Excel invoice to PDF

  • Windows: File > Export > Create PDF/XPS, or File > Save As > PDF.
  • Mac: File > Save As > File Format: PDF.
  • Google Sheets: File > Download > PDF.

Limits of Excel invoices

  • You have to track invoice numbers yourself. See how to create an invoice number.
  • Formulas break if someone deletes a row or types over a cell.
  • Formatting text blocks (addresses, notes) is awkward in cells.
  • Sending the .xlsx lets the client change amounts. Always send a PDF.

A faster alternative

If you want the automatic math without building a spreadsheet, the ZenInvoice free invoice generator calculates line amounts, taxes per rate and totals as you type. Add your logo, choose from 20 templates and download a PDF, no sign-up needed. If you prefer a word processor, see how to make an invoice in Word.

Frequently asked questions

Does Excel have a free invoice template?

Yes. Excel and Google Sheets both include free invoice templates in their template galleries.

How do I calculate sales tax in an Excel invoice?

Multiply the subtotal by the tax rate and round to two decimals: =ROUND(subtotal*rate,2). If items have different rates, calculate tax per line or per rate group.

How do I number invoices automatically in Excel?

Keep a log sheet with your invoice numbers and use =MAX(range)+1 to get the next one, or update the number manually each time you start a new invoice.