How to Summarize Business Expenses by Category

Build a PivotTable with category in Rows and amount in Values. Filter out Income, confirm Values uses Sum, then reverse the sign for a positive expense display. The category breakdown must reconcile to total cash payments. Show refunds separately when applying this to a real ledger.
By Better Analyst3 min read
On this page

Start with the sample data

This example uses synthetic business data in USD. Download the CSV and import it through Excel’s Data → From Text/CSV. Set dates to Date, amounts to Decimal Number, and identifiers to Text. The examples use Excel for Microsoft 365 on desktop with English formula names and comma separators.

Download the sample CSV · Data dictionary

Keep an untouched copy of the input. These are educational examples, not customer records or measured customer outcomes.

The result to check

Total cash payments: 4,355 USD

The category breakdown must reconcile to total cash payments. Show refunds separately when applying this to a real ledger.

Build the analysis in Excel

1. Prepare the source and scope

Import transactions.csv into a new worksheet with headers in row 1. Leave the source columns in their original order for the formulas below. Review the data dictionary before choosing the reporting period. Keep identifiers as text and convert numeric columns explicitly. Save a working copy so you can return to the original fixture.

2. Build the calculation

Build a PivotTable with category in Rows and amount in Values. Filter out Income, confirm Values uses Sum, then reverse the sign for a positive expense display.

=-SUMIFS(E2:E13,E2:E13,"<0")

3. Reconcile and interpret the output

The expected check is total cash payments: 4355 USD. The category breakdown must reconcile to total cash payments. Show refunds separately when applying this to a real ledger. If your result differs, inspect the selected rows, data types and date filters before changing the formula.

4. Adapt the workflow to a recurring report

Replace the sample with a copy of your own source, retaining the same column meanings and units. Extend bounded ranges to include new rows, refresh PivotTables where used, and compare the result to an independent source total. Record the reporting period and any exclusions beside the output. Cash payments include items that may be assets or debt repayments rather than expenses.

Checks before using your own data

  • Cash payments include items that may be assets or debt repayments rather than expenses.
  • Keep blanks distinct from zero. Investigate missing records rather than hiding errors with a blanket IFERROR formula.
  • Verify results after changing filters, sorting rows or appending a new period. The sample output is a check for this fixture, not a forecast for your business.

Tools and reference guides

Continue with your own data

Explore PDF and bank-statement analysis

See the supported workflow and upload your file when you are ready. The sample is not loaded automatically.