Excel Invoice Template: Build and Use One
In this article
You can build a reusable invoice template in Excel in about 15 minutes using nothing but built-in features: a header block for your business details, a customer block, an itemised table with a quantity × unit price formula, a tax line, a total, and a payment terms note. Save it as an .xltx template file so every new invoice starts from a clean copy. The steps below work in Excel for Microsoft 365, Excel 2021 and 2019 on Windows and Mac; menu labels can differ slightly by version and region, and the mobile apps have fewer formatting options, so do the setup on desktop.
What You'll Need
- Excel for desktop (Microsoft 365, 2021 or 2019). Excel for the web works for most steps but cannot save .xltx template files.
- Your business name, address, email, phone and any tax or company registration number you are required to show.
- A payment method note (bank details, payment link or card instructions) and your standard payment terms, such as net 14 or net 30.
- A sequential invoice numbering scheme. A simple year-plus-counter format like 2025-001 is easy to track.
- Your local tax rate and the wording your tax authority expects on invoices. Check the rules for your country before you rely on the template.
Step-by-Step
- Open a blank workbook and set the page. Go to File > New > Blank workbook. Then open Page Layout > Size and choose A4 or Letter to match your region, and set Orientation to Portrait. Set Margins to Normal. This prevents the invoice from spilling onto a second page when printed.
- Build the header block. In rows 1–4, put your business name in A1, then address, email and phone in the rows below. Merge cells A1:C1 for the name if you like, but avoid merging cells inside the item table later. Right-align your invoice title in a cell near the top right, for example E1: type INVOICE in bold, 20pt.
- Add the invoice metadata. In cells E2 to E4, add labels and values: Invoice number, Invoice date, Due date. Leave the value cells blank so you fill them per invoice. Format the date cells with Home > Number Format > Short Date so Excel treats them as real dates.
- Create the customer block. In A6 put Bill to: in bold. Leave A7 to A10 for the customer name, address lines and email. Keep these cells empty in the template; you will type the customer details each time.
- Set up the line-item table. In row 12, add these column headers across A to E: Description, Quantity, Unit price, Tax rate, Amount. Bold them, add a bottom border with Home > Borders, and apply a light fill colour so the header row stands out. Widen column A to roughly 40 characters.
- Enter the amount formula. In E13 type
=B13*C13and press Enter. This multiplies quantity by unit price. Copy that formula down E13 to E27 so you have 15 item rows. Format C13:E27 as currency with Home > Number Format > Currency. - Add the totals block. Below the item table, say in row 29, label A29 Subtotal and put
=SUM(E13:E27)in E29. In row 30 label A30 Tax and use=SUMPRODUCT(E13:E27,D13:D27)if your tax rate column holds percentages, or simply=E29*taxrateif you use one flat rate — put the rate in a clearly labelled cell such as D30. In row 31 label A31 Total due and use=E29+E30. Bold the total row and add a top border. - Add payment terms and notes. In rows 33–36, add a short block: payment terms (for example Payment due within 14 days of the invoice date), your payment details, and a thank-you line. Keep it to a few lines so the invoice stays on one page.
- Test the formulas. Enter a dummy item: 2 units at 50 with a 10% tax rate. The amount should show 100, the subtotal 100, tax 10 and total 110. If any figure is wrong, check that the tax cells are formatted as percentages, not text. Then delete the dummy data.
- Lock the formula cells (optional but recommended). Select the whole sheet with Ctrl+A, open Format Cells > Protection and clear Locked. Then select only the formula cells (E13:E31) and tick Locked again. Turn on protection with Review > Protect Sheet and leave the default options so users can still select unlocked cells. Note the password somewhere safe: if you lose it, you cannot unprotect the sheet without losing the protection settings.
- Save as a template. Go to File > Save As, choose Excel Template (*.xltx) from the file type list, and save it to your Templates folder. In future, open it via File > New > Personal (or New from template depending on version) so each invoice opens as an unsaved copy. If you save over the .xltx itself, you overwrite the master — always use Save As with an .xlsx name for the finished invoice.
- Export to PDF before sending. Use File > Export > Create PDF/XPS or File > Save As > PDF. A PDF stops customers editing the figures and preserves the layout. Check the preview shows one page before you send.
Common Mistakes
- Typing totals as fixed numbers. If you overwrite the SUM formula with a typed figure, the invoice stops updating when you change a line item. Keep formulas in the total cells.
- Storing tax rates as text. A cell showing 10% may actually be the text "10%", which breaks the tax formula. Enter 0.1 and format as percentage, or type 10% and confirm the formula bar shows 0.1.
- Merging cells inside the item table. Merged cells break copy-down of formulas and sorting. Merge only in the header and footer blocks.
- Saving the finished invoice over the template. This is the most common way people lose their template. Save the master as .xltx and always Save As a new .xlsx for each invoice.
- Forgetting sequential numbering. Duplicate or skipped invoice numbers cause problems with bookkeeping and tax records. Keep a simple log sheet with the last number used.
- Leaving required legal details off. Many jurisdictions require your tax registration number, the customer's tax number for business sales, and a clear statement of tax charged. Check your local requirements rather than copying a template from another country.
Tips
- Add a Notes column or a footer line for project references and purchase order numbers; many business customers cannot process an invoice without a PO number.
- Use Data > Data Validation on the quantity column to allow only whole numbers, which prevents typos like 100 instead of 10.
- Create a second sheet in the template called Log with columns for invoice number, customer, date sent, amount and date paid. It gives you a simple receivables tracker without extra software.
- Set a print area with Page Layout > Print Area > Set Print Area so only the invoice area prints, not stray cells far to the right.
- Keep a plain-text copy of your payment details outside Excel as well, so a corrupted file never leaves you without them.
Troubleshooting
- The total shows 0 or a wrong figure. Check that quantity and unit price cells contain numbers, not text. A green triangle in the corner of a cell usually means a number stored as text; use Convert to Number from the warning menu.
- #VALUE! appears in the tax cell. One of the tax rate cells contains text or is blank in a way the formula does not expect. Format the column as Percentage and re-enter the rates.
- The invoice prints on two pages. Reduce row heights, shrink the font in the notes block, or use Page Layout > Scale to Fit > Fit Sheet on One Page. Check with File > Print preview first.
- You cannot type in a cell. The sheet is protected. Unprotect it via Review > Unprotect Sheet if you know the password, or unlock the cell in Format Cells > Protection before protecting again.
- The template opens with old customer data. You saved a filled invoice over the .xltx. Rebuild the blank version and save it again as .xltx, then keep finished invoices as separate .xlsx files.
- Formulas stop copying down. Check that File > Options > Formulas > Workbook Calculation is set to Automatic, and that the cells below are not formatted as Text.
Frequently Asked Questions
Can I use Excel for invoicing without accounting software?
Yes. A well-built template with formulas and a log sheet covers basic invoicing. You still need to keep records as your tax authority requires, and you lose automatic reminders and payment reconciliation that accounting software provides.
What is the difference between .xltx and .xlsx?
.xltx is a template: opening it creates a new unsaved workbook based on it. .xlsx is a normal workbook. Save the master as .xltx and each finished invoice as .xlsx.
Does the template work in Excel for the web or on mobile?
Most formulas and formatting carry over, but Excel for the web cannot save .xltx files, and the mobile apps have limited formatting and print controls. Create and save the template on desktop, then fill it in wherever you prefer.
How should I number invoices?
Use a consistent sequential scheme, such as year plus a counter (2025-001, 2025-002). Never reuse or skip numbers without a documented reason, and keep the log sheet as your record.
Can I add my logo?
Yes. Use Insert > Pictures and place it in the header area, then resize it so it does not push the table onto a second page. Keep the image small to avoid bloating the file.
Is an Excel invoice legally valid?
In many places a clear, accurate invoice is valid regardless of the software used, but requirements for tax invoices vary by country and by customer type. Check the rules where you operate, especially for VAT or sales tax wording.