SUMIFS Explained: Build a Budget vs Actual Table in 10 Minutes

Published 2026-12-05 by Sheettally

SUMIFS adds up numbers that meet one or more conditions. It is the formula behind most simple budget reports. Here is how to build a "budget vs actual" table from a plain list of transactions.

Step 1: Keep your transactions in one list

Make a sheet called Log with one row per transaction and these columns: Date (A), Category (B), Amount (C). Do not leave blank rows, and do not merge cells. Format it as an Excel Table (Ctrl+T) so new rows are picked up automatically.

Step 2: Make the report layout

On a second sheet, put the categories down column A (Rent, Food, Transport, and so on). Across row 1, put the first day of each month: 2027-01-01, 2027-02-01 and so on, formatted as "mmm yyyy".

Step 3: Write the formula once

In cell B2, the actual spending for the first category in the first month:

=SUMIFS(Log!$C:$C, Log!$B:$B, $A2, Log!$A:$A, ">="&B$1, Log!$A:$A, "<"&EDATE(B$1,1))

Read it from left to right: add up the Amount column, but only where Category equals the name in A2, and the date is on or after the first day of the month, and before the first day of the next month.

The dollar signs matter. They lock the columns of the Log ranges, lock column A for the category, and lock row 1 for the month, so you can copy the formula down and across without editing it.

Step 4: Add the budget and the difference

Put your planned amounts in a second block with the same layout. Then the difference is just a subtraction: budget minus actual. Use a conditional format to turn negative numbers red.

Common problems

Where to go next

Once this works, add a total row, a percent-of-budget column and a simple chart. If you would rather start from a finished file, the catalog has monthly budget templates that already include a transaction log and dashboard.


← All guides · Browse templates