WorkbookLogic
FormulaFreeAggregationintermediateSUMIFSSUMIFANDROUND

Build a Two-Way Summary with SUMIFS

By WorkbookLogic

Turn normalized source records into a reusable row-by-column reporting grid using one SUMIFS formula with controlled mixed references, then reconcile row, column, and source totals.

ExcelLast reviewed Sep 11, 2026
two-way-summary-with-sumifs-v1.0.0.xlsxFree
Two-Way SUMIFS Formula Review
Review each criterion separately before combining row and column dimensions.
Source data, syntheticSUMIFS review, editable selections
OpportunityOwnerStageValue ($)Selected ownerAva
O-001AvaProspect1,200Selected stageProposal
O-002AvaQualified800
O-003AvaProposal1,500ExampleFormula syntaxResult ($)
O-004AvaClosed1,000Owner subtotal=SUMIFS($D$12:$D$24,$B$12:$B$24,$G$11)4,800
O-005AvaProspect300Stage subtotal=SUMIFS($D$12:$D$24,$C$12:$C$24,$G$12)3,200
O-006BenProspect900Owner + stage=SUMIFS($D$12:$D$24,$B$12:$B$24,$G$11,$C$12:$C$24,$G$12)1,500
O-007BenQualified1,100
O-008BenProposal700
O-009BenClosed1,300
O-010CaraProspect600
O-011CaraQualified1,400
O-012CaraProposal1,000
O-013CaraClosed500
Reliability checks
Ava in Proposal returns the expected $1,500OK
Two-way result does not exceed either one-way subtotalOK

Overview

Convert normalized opportunity records into an owner-by-stage value grid. One formula fills across four stages and down three owners, while row, column, and grand totals provide a complete reconciliation.

When to use it

Use it for pipeline by owner and stage, products by region, departments by expense class, or compact dashboard tables where one row dimension and one column dimension define each subtotal.

When not to use it

Use a PivotTable when interactive filtering, grouping, and drill-down matter more than a fixed layout. Use the monthly-columns formula when column criteria are date windows. Use SUMPRODUCT when dimensions require in-memory transformations.

Problem

Writing separate formulas for every cell creates unnecessary maintenance and inconsistent ranges. Fully relative references also drift when filled in two directions. The row-label column, column-header row, and source ranges need different locking behavior.

Source data

The synthetic source in B12:D24 contains 13 opportunities. The resulting grid is:

Owner

Prospect

Qualified

Proposal

Closed

Total

Ava

1,500

800

1,500

1,000

4,800

Ben

900

1,100

700

1,300

4,000

Cara

600

1,400

1,000

500

3,500

Each source row has one Owner, Stage, and numeric Value. Axis labels should be unique, and all source ranges must align.

Source order does not matter because each grid cell evaluates the complete bounded dataset. Multiple opportunities at the same intersection are expected and are added together.

Calculations

  1. Match each record’s Owner to the current row label.
  2. Match its Stage to the current column header.
  3. Sum Values only where both conditions are true.
  4. Fill the same formula across and down using mixed references.
  5. Reconcile grid totals in both directions to the source total.

Outputs

The three-by-four grid totals $12,300. Ava contributes $4,800, Ben $4,000, and Cara $3,500. Column totals are $3,000 Prospect, $3,300 Qualified, $3,200 Proposal, and $2,800 Closed.

Formula map

=SUMIFS($D$12:$D$24,$B$12:$B$24,$F12,$C$12:$C$24,G$11)

$F12 locks the row-label column but lets the row change. G$11 locks the header row but lets the column change. The amount and criteria ranges are fully absolute.

Model checks

The workbook verifies that the grid grand total equals all source Values and that row totals reconcile to column totals. Passing checks return OK.

Edge cases

  • Multiple records at one intersection are aggregated together.
  • A valid owner-stage combination with no records returns zero.
  • Duplicate axis labels repeat totals and can overstate the displayed grand total.
  • Text comparisons are not case-sensitive.
  • Blank or nonnumeric Values do not contribute.
  • Unequal source ranges invalidate alignment.

Common errors

  • Using fully relative headers: criteria drift during fill. Use $F12 and G$11.
  • Writing formulas individually: ranges diverge across the grid. Seed the top-left cell and fill.
  • Repeating axis labels: subtotals appear more than once. Use unique row and column lists.

Example

Ava has Prospect records of $1,200 and $300, so her Prospect cell is $1,500. Her remaining stages total $800, $1,500, and $1,000, producing $4,800. Summing every owner row returns the same $12,300 as the source.

Example workbook

Edit the cream owner labels in Combined Example!F12:F14, stage headers in G11:J11, or source records in B12:D24. The grid and totals update automatically. Formula Review isolates owner-only, stage-only, and combined criteria.

Key takeaway

Lock the row-label column, column-header row, and all source ranges deliberately so one SUMIFS formula can drive and reconcile an entire two-way summary.