Pivot Table Issues

Change Count to Sum for Reported Values in an Excel PivotTable

Chanuka GeekiyanageChanuka Geekiyanage Nov 12, 2026 868 views

Question details

The user needs an Excel PivotTable to summarize reported laboratory test values instead of showing the count of values.

Change Count to Sum for Reported Values in an Excel PivotTable
Product
Microsoft Excel PivotTable
Device & OS
not provided
Scenario
A PivotTable uses the REPORTED VALUE field in its Values area to review laboratory test results by sample or test.
Observed behavior
The Values area displays Count of REPORTED VALUE rather than the expected numeric test-result totals or values.
Before you start

Check that the REPORTED VALUE source column contains real numeric values rather than numbers stored as text. A PivotTable uses Count automatically when the field contains text, blanks, or mixed data types.

Solution 1Recommended

Change the REPORTED VALUE summary from Count to Sum

Use this when the reported values are numeric and you want the PivotTable to total them instead of counting populated records.

1
Open the PivotTable Fields pane

Click anywhere inside the PivotTable, then locate the PivotTable Fields pane and find REPORTED VALUE under the Values area.

2
Open Value Field Settings

Select the drop-down arrow next to Count of REPORTED VALUE in the Values area, then click Value Field Settings.

3
Choose Sum

On the Summarize Values By tab, select Sum and click OK. The field label changes to Sum of REPORTED VALUE.

4
Refresh the PivotTable

Right-click any cell in the PivotTable and select Refresh to update the summary using the current source data.

Change the REPORTED VALUE summary from Count to Sum
Numeric values can be summed: If Sum is available and selected, the PivotTable will add the numeric REPORTED VALUE entries instead of counting them.
WPS Spreadsheets PivotTable tools

Summarize Reported Values with a PivotTable in WPS Spreadsheets

WPS Spreadsheets lets you build and edit PivotTables with familiar value-summary settings. Place your laboratory result field in Values, switch its calculation from Count to Sum, and refresh the report after cleaning numeric source data.

  1. 1. Open the worksheet in WPS Spreadsheets: Open the Excel workbook in WPS Office and click any cell in the PivotTable.
  2. 2. Locate the value field: In the PivotTable Fields panel, find REPORTED VALUE in the Values section.
  3. 3. Open the field calculation settings: Click the drop-down next to Count of REPORTED VALUE and choose Value Field Settings.
  4. 4. Set the calculation to Sum: Choose Sum under the summary options, then click OK to replace the count with the total reported value.
  5. 5. Refresh after source-data changes: Right-click the PivotTable and select Refresh after converting text results to numbers or separating result qualifiers.
Change PivotTable value calculations from Count to Sum for reported test values.Use Sample ID and Test Name fields to organize individual laboratory results.Open, edit, and save Microsoft Excel .xlsx and .xls PivotTable workbooks.Familiar spreadsheet interface supports an easy transition from Microsoft Excel.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my PivotTable show Count of REPORTED VALUE instead of Sum?

Excel uses Count when the REPORTED VALUE field includes text, blanks, mixed data types, or numbers stored as text. Open the value-field drop-down in the Values area, choose Value Field Settings, and select Sum after confirming the source values are numeric.

Can a PivotTable show the actual laboratory result instead of adding values together?

A PivotTable always summarizes records. Add Sample ID and Test Name to Rows and use Sum only when each sample-and-test pair has one numeric result. If multiple source records exist for the same pair, clean or restructure the data to create a unique result record.

How do I convert reported values stored as text to numbers in Excel?

Select the affected cells in the REPORTED VALUE column and use the cell warning icon to select Convert to Number. For clean numeric text, you can also select the column and use Data > Text to Columns > Finish.

What should I do with results such as ND or <0.01 in a PivotTable source column?

Keep numeric values in a dedicated numeric column and place qualifiers such as ND or < in a separate qualifier column. Mixed text and numbers in the same REPORTED VALUE field can cause the PivotTable to use Count.