To total spend across invoices, you do two things: get every invoice into a single spreadsheet, one row per invoice or one row per line item, then total it. Once the data is in rows and columns, SUMIFS adds up amounts that match a condition (a supplier, a date range, a VAT rate), and a PivotTable groups and sums spend by supplier, category, or month without a single formula. SUMIFS can test many conditions at once; a PivotTable builds the whole breakdown in a few clicks.
That second step is the one every Excel guide shows you. The first step is the one they skip, and it is where the actual work is. Most articles on how to total multiple invoices in Excel start from a tidy table that already exists. Real invoices do not arrive that way. They arrive as a folder of separate PDFs, one file per supplier per month, and there is no column to sum until someone gets the numbers out of those documents and into a sheet.
So the method has two stages. Stage one: consolidate every invoice into one spreadsheet with consistent columns. Stage two: total and break down with SUMIFS and PivotTables. The rest of this guide walks through both, plus the data-hygiene details that decide whether your totals are actually correct. If your invoices are in more than one currency, there is one extra rule, covered at the end: convert each total to a single base currency before you sum.
Get Every Invoice Into One Spreadsheet First
Neither SUMIFS nor a PivotTable can do anything until the invoice data sits in a table. Before any of the totalling works, every invoice's data has to live in rows and columns: a supplier here, an invoice date there, a net amount, a VAT amount, a total. Until that table exists, there is no range to sum.
Getting there is the step that trips people up. The two manual routes both have problems. Retyping each invoice total into a sheet by hand is slow and introduces transposition errors that quietly throw off every downstream figure. Copy-pasting out of a PDF reader is worse in a different way: the numbers come across as text, dates lose their formatting, and multi-column layouts collapse into a mess you then have to untangle cell by cell.
What you actually want is to consolidate invoice totals into one spreadsheet where each invoice contributes structured rows holding the exact fields you plan to total against. For invoice-level work that is one row per invoice with supplier, date, net, VAT, and total. The goal is the same whether you have twenty invoices or two thousand: sum invoice totals from multiple PDFs in a spreadsheet that all share the same columns.
The friction is that source documents are rarely uniform. Different suppliers use different layouts, your folder probably mixes native PDFs with scans and the odd phone photo, and the totals sit in different places on each page. They all need to end up in the same consistent columns, because SUMIFS and PivotTables match on column position and exact values, not on where a number happened to appear on the original invoice.
The fastest way through this stage is to let software read the documents and write the table for you. You can extract a batch of invoices into one structured spreadsheet by uploading the whole folder, describing the fields you need in plain language, and downloading a structured Excel, CSV, or JSON file. The same prompt works on ten invoices or several thousand mixed-format files in a single batch, so the consolidation step does not get slower as your volume grows. If you want a step-by-step walkthrough of the precursor, here is how to convert a folder of PDF invoices to Excel before you start totalling.
One Row Per Invoice or One Row Per Line Item?
Before you sum anything, decide how each invoice maps to rows, because that single choice determines which questions you can answer later.
One row per invoice captures header-level totals: supplier, invoice date, net, VAT, and total, with each invoice as a single line. This suits invoice-level questions, the ones about whole-invoice spend. Total spend per supplier, total per month, total for a date range, all of these work cleanly when each invoice is one row.
One row per line item goes deeper. Each item on the invoice becomes its own row, with the invoice-level fields (supplier, invoice number, date) repeated across every line so each row stands on its own. This is what you need for line-item analysis: spend by product category, by SKU, by quantity, anything about what was actually bought rather than what each invoice totalled.
Tie the choice to your goal. If your questions are about whole invoices, one row per invoice is simpler, lighter, and faster to work with. If your questions are about the contents (categories, products, quantities), you need line items. The asymmetry is what matters when you are unsure: line-item data can always be rolled back up to invoice-level totals with a PivotTable or SUMIFS, but invoice-level data cannot be broken back down into line items after the fact, because the detail was never captured. So when category analysis is even a possibility, capture line items.
This decision is made at extraction time, not afterward, which is why it sits here, before the first formula. If you are working at line-item granularity but want invoice-level totals too, you can flatten invoice line items into one row per invoice to get a clean header-level table from line-item detail. When you extract, you specify the structure directly in the prompt, asking for one row per invoice, or one row for each line item with the invoice number repeated on every row.
Total Spend With SUMIFS by Supplier, Date, or VAT Rate
With a clean consolidated sheet, SUMIFS is the workhorse for any conditional total. It adds up a range of amounts, but only for the rows that meet the conditions you set. You give it the range to sum (your total column), then one or more pairs of a criteria range and the criterion it must match. Everything that fails the test is left out of the sum.
The variations map directly onto the questions finance teams actually ask:
- Total spend by supplier from invoices. Point the sum at the total column, the criteria range at the supplier column, and the criterion at the supplier you want. This is also the answer to total what I spent with a supplier, the same pattern phrased the way the question usually arrives.
- Total for a date range. Use two criteria on the invoice-date column: one for dates on or after the start of the period, one for dates on or before the end. That bounds a month, a quarter, or any custom window.
- Spend by category. With a category column in place, match it the same way you match supplier.
- Totals per VAT rate. Match the VAT-rate column to a specific rate to total net or gross at that rate, which is the figure a VAT return needs. The same per-rate totalling is the backbone of an annual filing such as Ireland's Return of Trading Details, where a full year of invoices is classified by VAT rate and split between resale and non-resale.
These conditions combine. Because SUMIFS accepts up to 127 range/criteria pairs in a single formula, one formula can total invoice amounts against many conditions at once, for example one supplier, within a date range, at a specific VAT rate, all in the same expression.
The reason this beats filtering the sheet and reading the total off the status bar is that SUMIFS is live. Add next month's invoices to the bottom of the table and every SUMIFS total that references the full column recalculates on its own, so a month-end figure stays current instead of being a snapshot you have to redo.
Totalling by VAT rate is a different job from splitting a single gross figure into its net and tax components. If that is what you actually need, here is how to calculate net and VAT from gross invoice totals, which is the per-invoice reverse calculation rather than a cross-invoice total.
Break Spend Down by Supplier, Category, or Month With a PivotTable
SUMIFS answers one question at a time. When the question is "show me everything broken down" rather than "what is this one total," a PivotTable is the faster tool. It groups and sums every supplier, every category, or every month in one summary, without you writing a formula per line.
The steps are short. Select your consolidated table, insert a PivotTable, then drag the field you want to group by into the Rows area and the total amount into the Values area. Excel produces the grouped totals immediately. Drop supplier into Rows and you get spend per supplier; swap in category and you get spend per category.
Two breakdowns come up most often beyond supplier. For spend by category from invoices, you need either line-item rows or a category column on each row, then category goes into Rows. To total invoices by month in Excel, put the invoice date into Rows and let Excel group it by month, or by quarter, directly inside the PivotTable, so a year of invoices collapses into twelve monthly totals you can read at a glance.
Use the two tools for what each does best. SUMIFS is right for a specific recurring figure you want to reference in a report or feed into another calculation. A PivotTable is right for exploring and presenting the full distribution of spend. Both read from the same consolidated sheet, so there is no extra setup to switch between them.
Clean Data Is What Makes the Totals Trustworthy
A formula that returns a number is not the same as a formula that returns the right number. The most dangerous errors in spend totalling are the silent ones: no warning, no error cell, just a figure that is quietly wrong. Three data conditions cause almost all of them.
Consistent supplier and category names. SUMIFS and PivotTables group by exact text. "Acme Ltd", "Acme Limited", and "ACME" are three different suppliers as far as Excel is concerned, so a total that should be one figure splits into three, and a per-supplier breakdown lists the same vendor three times. Standardise each entity to a single spelling before you total, so every invoice from one supplier matches one label.
Numbers stored as numbers, not text. A value like $1,200.00 sitting in a cell as text, with the currency symbol and comma baked in, is invisible to SUM and SUMIFS. They skip it, and the total comes up short with no indication anything was left out. Amounts have to be real numeric values, with currency symbols handled by cell formatting rather than typed into the data.
Native date types. Dates stored as real Excel dates are what let SUMIFS compare against a date range and let a PivotTable group by month. A date stored as text looks identical on screen but cannot be grouped or compared, so date-range totals and monthly breakdowns silently fail or return zero.
All three trace back to the consolidation step. A total can look completely plausible and still be wrong, and whether it is wrong is decided upstream, by how clean the table was when the data first landed in it. This is where extraction quality earns its keep: when values come out correctly typed, numbers as numbers and dates as real dates, they are ready for formulas and PivotTables straight away, rather than as text that breaks every sum until someone reformats it column by column. Good extraction also lets you enforce field-level formatting, such as standardising every date to the same pattern, so the table is consistent before a single formula touches it. Some extraction can even go a step further and check the figures as they come out, since AI invoice extraction can compute and reconcile calculated fields such as net plus VAT against the stated total, flagging any invoice whose numbers do not add up before it ever reaches your sheet.
Multi-Currency Invoices and How This Differs From Related Tasks
If your invoices arrive in more than one currency, you cannot sum the total column directly, because Excel will add 500 USD to 500 EUR and return 1000 of nothing. Add a base-currency column that converts each invoice total using the exchange rate for that invoice's date, then total the base-currency column instead. That is the whole rule. For the practical detail of getting mixed-currency data extracted cleanly in the first place, see how to handle multi-language and multi-currency invoices.
It is worth knowing when this method is not the one you want, because two adjacent tasks look similar and need a different approach. Splitting a single invoice's amounts across countries is a within-one-invoice task, not aggregation across many: if that is your goal, the method is to break a single invoice down by country. Likewise, taking one gross figure and working out its net and VAT components is a per-invoice reverse calculation. This guide is about the opposite direction: many invoices in, one consolidated number out.
Once your invoices are consolidated into one sheet, typed cleanly, and totalled with SUMIFS or summarised in a PivotTable, the work stops being a manual count you dread each month and becomes a process you can repeat. Next month, drop the new invoices into the same table and every total recalculates on its own.
Extract invoice data to Excel with natural language prompts
Upload your invoices, describe what you need in plain language, and download clean, structured spreadsheets. No templates, no complex configuration.
Related Articles
Explore adjacent guides and reference articles on this topic.
Extract Indian Bill of Entry to Excel for ITC & Landed Cost
Convert Indian Bills of Entry from PDF to Excel — extract BCD, SWS, IGST, CTH and port code to build your import-IGST ITC register and landed-cost sheet.
Can Invoice Data Extraction Software Do Calculations?
Can AI invoice extraction do the math? See what it computes, what it can't, and how to get calculated and validated fields into your spreadsheet.
Calculate Net and VAT From Gross Invoices in Excel
Recover net and VAT from gross invoice totals in Excel using the reverse-VAT formula — with mixed rates and a check against the printed VAT figure.