Skip to content
Coverton Blog
In this article
Tables and data

Summarize spreadsheet groups by sum, count or mean

Product revenue and order counts require different calculations even when they use the same source spreadsheet. Decide how records should be grouped and what the summary should measure.

Open the toolHow to use this tool ↓
Pivot table
This illustration explains the tool's workflow. It is not the processed result of an uploaded file.

How to use this tool

  1. Add the spreadsheet and select grouping and value columns.
  2. Choose sum, count or mean.
  3. Run the summary and compare one group with its source and calculation method.
  4. Download the summary spreadsheet.

Choose the right settings

Choose a grouping column such as product or region and a value column for the calculation. Count measures records, while sum and mean require numeric values for totals or averages.

Supported input
  • CSV,TSV,XLSX
Available settings
  • Key column
  • Value column
  • Aggregate

Before you start

Establish the meaning of the input

Before converting or arranging data, identify what a row or value represents and keep a source copy. In tabular files, review headers, separators and text encoding; in structured files, inspect the required object or array shape. Identifiers, dates and amounts should not be interpreted solely from how a spreadsheet happens to display them.

Where the tool offers matching columns, type rules or output fields, choose them according to the destination’s requirements. Test a sample with a blank, a repeated value and a value containing punctuation. For labels, charts or personalized documents, check which column supplies each displayed value and whether the source units and wording are correct.

Define a few checks before processing: an identifier that must retain its spelling, a value with a known interpretation and an expected relationship between records. If the tool offers type conversion or matching rules, distinguish a source value from the program’s display of it. Test ambiguous dates or differently written keys before accepting a broad rule. Keep the chosen rules and destination requirements with the result; this makes a discrepancy traceable to input, interpretation or the requested transformation.

Verify values, structure and exceptions

Reopen or import the result using the destination’s settings. Compare headers, record counts and several values with the source, allowing for the operation you requested. A summary, split or duplicate-removal task can legitimately change the count; verify why it changed rather than expecting every transformation to keep identical rows.

Inspect any exception or validation report before continuing. If columns shift, characters are garbled or a key is not found, check delimiters, encoding and exact header spelling first. Encoding data does not encrypt it, and formatting a value does not confirm its meaning. For printed codes or labels, test the actual output before making the full set.

Example input and output

order rows + product key → grouped count/sum/mean

Examples describe the workflow. Results depend on the source file and settings.

Check the saved result before using it

Compare one complete group with its source records to verify the reported total, count or average. Inspect similar labels and empty grouping values that may create separate groups in the summary.

If the result is different from what you expected

For numeric errors, clean currency symbols or text from the chosen calculation column. If results answer the wrong question, reconsider the aggregate and grouping field and check for duplicate source records.

Limits to keep in mind

  • The "count" option counts rows. The "sum" (total) and "mean" (average) options require a number in every cell of the calculation column. An empty cell or a cell containing text stops the entire task.

Continue with a related tool

Convert CSV to JSON

The first CSV row supplies the keys for each data row's JSON object. Cell values are stored as strings, so inspect their types before passing the result to a system that expects numbers or boolean values.

Choose the source encoding and use automatic delimiter detection or select the actual delimiter. Resolve empty or duplicate headers and ensure each row has the same number of columns as the header.

Open the tool

Convert JSON to CSV

This spreadsheet conversion requires an array whose entries are objects. Decide whether nested objects should become separate columns or remain JSON strings inside cells, because the resulting spreadsheet is read differently in each case.

Enable flattening to turn nested object properties into headers joined with dots. Arrays are not expanded into multiple rows, so review those cells separately if you intend to analyze each array item.

Open the tool
CovertonPivot table
Open the tool

This guide explains the public browser tool. Keep a copy of the original and inspect the result before sharing it.