We’re improving Formula Genius. We’re redesigning the app and fixing issues along the way. Sorry for any disruption, and thank you for your patience.
Excel advanced

How to Create a Crosstab Summary Using SUMIFS

Transform your sales data into a crosstab summary by leveraging the power of SUMIFS, eliminating the need for PivotTables.

Formula Genius can generate a draft from a plain-English prompt. Supported formulas can be checked with sample cases; review the coverage on the result.

The formula

Prompt

"Create a crosstab summary using SUMIFS to sum sales by both region and product category without a PivotTable"

Excel
=SUMIFS(SalesRange, RegionRange, RegionCriteria, CategoryRange, CategoryCriteria)

This formula sums sales based on specified criteria for both region and product category.

Step-by-step breakdown

  1. Identify the range of sales data to sum (SalesRange).
  2. Specify the range containing region data (RegionRange).
  3. Define the criteria for the region you want to filter by (RegionCriteria).
  4. Specify the range containing product category data (CategoryRange).
  5. Define the criteria for the product category you want to filter by (CategoryCriteria).

Edge cases & warnings

  • No sales data for the specified region or category returns 0.
  • Mismatched data types in criteria may lead to incorrect results.
  • Empty cells in the SalesRange will not be counted in the sum.
  • Using wildcards in criteria may yield unexpected results if not properly formatted.

Examples

Prompt

"SalesRange: B2:B10, RegionRange: A2:A10, RegionCriteria: 'West', CategoryRange: C2:C10, CategoryCriteria: 'Electronics'"

Excel
Total sales for Electronics in the West region.
Prompt

"SalesRange: B2:B10, RegionRange: A2:A10, RegionCriteria: 'East', CategoryRange: C2:C10, CategoryCriteria: 'Furniture'"

Excel
Total sales for Furniture in the East region.

Frequently asked questions

Can I use multiple criteria for regions and categories?

Yes, you can nest SUMIFS or use array formulas for multiple criteria.

What if my data contains blank cells?

Blank cells in the SalesRange will not affect the sum, but ensure criteria ranges align.

How do I handle case sensitivity in criteria?

SUMIFS is not case-sensitive; use EXACT function for case-sensitive comparisons.

Can't find what you need?

Describe a formula in plain English. Formula Genius drafts and explains it, and can check supported formulas on sample cases.