Pivot Table Issues

Count Excel Table Priorities by Final Status with Formulas or a PivotTable

Elise WilliamsElise Williams Nov 12, 2026 869 views

Question details

Count Excel table records for each Priority and Final Status combination, then organize the counts for a chart.

Count Excel Table Priorities by Final Status with Formulas or a PivotTable
Product
Microsoft Excel table and PivotTable
Device & OS
not provided
Scenario
The user needs a summary matrix that lists priorities in rows, final statuses in columns, and record counts in each intersection.
Observed behavior
The goal is to calculate counts by priority alone or by both Priority and Final Status.
Before you start

Make sure the source range is formatted as a table and that the Priority and Final Status column headers are spelled consistently. If you use a PivotTable, choose a field that is populated for every record, such as an ID or record name, for the count.

Solution 1Recommended

Use SUMPRODUCT formulas to count each Priority and Final Status combination

Use this method when you need a formula-based summary table that updates from the Excel table and can be used directly as a chart source.

Assuming the table is named Table1, put priority labels down column A and final-status labels across row 16. The formula uses structured references to count matching table records.

1
Add the priority labels

In the summary area, enter each Priority value in cells such as A17, A18, and A19.

2
Add the final-status headers

Enter each Final Status value across the header row, starting in a cell such as C16.

3
Count records for one priority

To count only the priority shown in A17, select an output cell and enter =SUMPRODUCT(--(Table1[Priority]=A17)).

4
Count each priority and status pair

In cell C17, enter =SUMPRODUCT((Table1[Priority]=$A17)*(Table1[Final Status]=C$16)), then drag the fill handle across the status columns and down the priority rows.

5
Create a chart from the summary

Select the completed summary table, including its row and column labels, then use Insert > Chart and choose a column, bar, or stacked chart.

Use SUMPRODUCT formulas to count each Priority and Final Status combination
Formula result: Each cell returns the number of table rows where both the Priority and Final Status values match its row and column labels.
WPS Spreadsheets

Count Priority and Final Status Records in WPS Spreadsheets

WPS Spreadsheets lets you build a formula-based count matrix with SUMPRODUCT or summarize the same table with a PivotTable. You can then create a chart from the summary while working with Excel workbook files.

  1. 1. Open the workbook in WPS Spreadsheets: Open the Excel workbook in WPS Office and select the worksheet containing the source table.
  2. 2. Build a formula summary table: Enter Priority labels in one column and Final Status labels in the top row, then use =SUMPRODUCT((Table1[Priority]=$A17)*(Table1[Final Status]=C$16)) in the first result cell.
  3. 3. Fill the count formula: Drag the formula across and down to calculate every Priority and Final Status combination.
  4. 4. Create a PivotTable instead: Select a source-table cell, choose Insert > PivotTable, and place Priority in Rows, Final Status in Columns, and a populated record field in Values as Count.
  5. 5. Visualize the results: Select the summary range or PivotTable, choose Insert > Chart, and select a chart type suited to comparing statuses.
Create Priority-by-Final-Status count tables with SUMPRODUCT formulas.Build PivotTables and PivotCharts for interactive status reporting.Open, edit, and save Microsoft Excel .xlsx and .xls files.Use a familiar spreadsheet interface for quick migration from Excel.
microsoft office alternative - wps office

Frequently Asked Questions

How do I count one Priority value in an Excel table?

If the table is named Table1 and the criterion is in A17, use =SUMPRODUCT(--(Table1[Priority]=A17)). This counts rows whose Priority matches A17.

Why do the SUMPRODUCT references use $A17 and C$16?

The dollar signs keep the Priority column fixed when you fill across and keep the Final Status row fixed when you fill down. This lets one formula populate the whole count matrix.

Which field should I place in the PivotTable Values area?

Use a field that is filled in every source row, preferably a unique Record ID. Open Value Field Settings and choose Count if the PivotTable does not automatically show a count.

How can I update the PivotTable after adding new records?

Ensure the new records are inside the source table, then right-click anywhere in the PivotTable and select Refresh. The counts and associated PivotChart will update.

Can I create a chart from the formula count table?

Yes. Select the completed count matrix with its Priority and Final Status labels, then select Insert > Chart. A clustered or stacked column chart is often useful for comparing statuses by priority.