Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Use an Excel PivotTable when you want to group and summarize data interactively; use SUMIFS when you need a fixed result driven by explicit criteria in a formula. For a straightforward total by region and product, a PivotTable can produce the grouped summary by placing fields in Rows, Columns, and Values—without writing a separate formula for every combination.

When a PivotTable can replace SUMIFS

A PivotTable is a good fit when you want to explore totals across categories, change how those totals are grouped, or filter the summary without building a separate formula for each category combination. Microsoft describes PivotTables as a way to calculate, summarize, and analyze worksheet data, and supports arranging fields to change the report view (Microsoft: Create a PivotTable to analyze worksheet data; Microsoft: Use the Field List to arrange fields in a PivotTable).

For example, if a sales table has Date, Region, Product, and Sales columns, you can summarize Sales by Region and Product. To see a different view, move Date into Filters or Rows, or swap Region and Product. The underlying source rows stay in place; the PivotTable changes how it groups them.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

This is not a universal replacement for SUMIFS. PivotTables suit interactive grouped summaries; SUMIFS suits a deliberately placed formula result whose criteria are expressed in the formula.

#1 Best Overall
Sale
The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • The Microsoft Office 365 Bible: The Most Updated and Complete Guide to Excel, Word, PowerPoint, Outlook, OneNote, OneDrive, Teams, Access, and Publisher from Beginners to Advanced
  • ABIS BOOK

Prepare the source data

Start with a rectangular range or Excel table with one clear header row and one field per column. Microsoft’s PivotTable guidance specifies column-organized data with a single header row (Microsoft: Create a PivotTable to analyze worksheet data).

  • Use consistent column names such as Date, Region, Product, and Sales.
  • Keep values you intend to add numeric throughout the Sales column; imported numbers stored as text can lead to an unexpected count instead of a sum.
  • Avoid mixing labels, notes, and numeric amounts in the same field.

Create and arrange the PivotTable

In Excel, select a cell in the source data, then use Insert > PivotTable. Choose where to place the PivotTable and confirm. Exact dialog wording and available options can vary by Excel version and platform; Microsoft’s documented workflow starts by selecting worksheet data and inserting a PivotTable (Microsoft: Create a PivotTable to analyze worksheet data).

  1. In the PivotTable Fields pane, drag Region to Rows.
  2. Drag Product to Columns.
  3. Drag Sales to Values.
  4. To constrain the report, drag a field such as Date to Filters. To change the layout, move fields between areas or swap Region and Product.

The result is a grouped matrix of sales by region and product. Adding another category or changing the grouping is a matter of moving fields, rather than composing a new SUMIFS formula for each row-and-column pairing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check whether Excel is summing or counting

Do not assume that a field in Values is being summed. Numeric fields generally default to Sum, while text or some blank and nonnumeric cases can produce Count. Look at the Values field label: for a sales total, it should read Sum of Sales, not Count of Sales. Microsoft documents how PivotTable values are summarized and how to change the summary function (Microsoft: Summarize values by in a PivotTable).

  1. Open the menu for the value field in the PivotTable Fields pane, or right-click a value in the PivotTable.
  2. Choose Value Field Settings or the equivalent summary setting available in your Excel version.
  3. Select Sum if the field contains numeric amounts and the report needs a total.
  4. If Sum is unavailable or Excel keeps counting, inspect the source column for numbers stored as text, mixed content, or blanks that affect the field’s interpretation.

PivotTables can also summarize values using other functions, including Count and Average. Select the function that matches the question the report is meant to answer.

When SUMIFS is the better fit

SUMIFS adds values that meet multiple conditions. Use it when a report needs a specific formula result in a particular cell, when criteria are driven by worksheet cells, or when a dashboard depends on a formula-linked output. Microsoft documents the function as summing values based on multiple conditions (Microsoft: SUMIFS function).

Conceptually, a formula might sum the Sales range where Region matches a selected region cell and Product matches a selected product cell. The exact formula depends on the worksheet’s column layout and cell references. Unlike a PivotTable, the criteria are explicit arguments in the formula, so the result can sit wherever the report design requires it.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose by output and calculation logic

Need Better starting point Why
Explore totals across categories or rearrange a summary PivotTable Move fields among Rows, Columns, Filters, and Values to change the grouped view.
Return a fixed result for chosen criteria in a specific cell SUMIFS The conditions are written as formula arguments and can refer to cells.
Compare grouped sums, counts, or averages PivotTable Choose a summary function for the Values field and verify the displayed function.
Use a formula whose meaning depends on each source row Validate the calculation before choosing PivotTable calculated fields may operate on sums of underlying fields rather than evaluating the intended logic independently for every record.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Be careful with PivotTable calculated fields

A simple grouped total is different from a calculation that must be applied to every source record before aggregation. Microsoft notes that calculated-field formulas operate on sums of underlying fields; this can produce a different result from row-by-row formula logic. Some calculated-field formulas are also unavailable for OLAP data sources (Microsoft: Calculate values in a PivotTable).

If the calculation relies on per-record logic, validate its meaning against the source rows rather than assuming a PivotTable calculated field is interchangeable with a worksheet formula. Excel features and labels can differ by version, platform, licensing, and data-source type.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.