- Select a cell in the data table and choose Insert > PivotTable.
- Set up Rows and Columns, then move the amount field into Values.
- If the value field shows Count, open its settings and select Sum. If the result is still wrong, confirm that the source amounts are numbers, not text, and refresh the PivotTable after fixing them.
- Check that the grand total agrees with your ledger control and that returns are included.
GUIDES / EXCEL
Excel guides for finance practice
A quick guide to getting a trustworthy sales total.
Use date boundaries with SUMIFS
Use an inclusive start date and an exclusive start of the next month. This excludes March 1 even when the source includes times. Filter on Posted as a separate criterion, and include negative posted returns.
Match customer IDs exactly
With XLOOKUP, use an explicit missing label and exact match. Freeze the master range with dollar signs before copying down. Review the unmatched rows separately rather than quietly dropping them from totals.