CSV Pivot Table

Reshape delimited records into a pivot table by grouping rows and columns.

Input

Processed on your device

How to use CSV Pivot Table

Summarize a CSV by turning one field into row labels and another into output columns. Count records or sum a chosen numeric value for each combination.

  1. Paste the source content or open the text file.
  2. Choose a Row group column and an Output column group.
  3. Leave Value column for sums empty to count rows, or enter a numeric column to sum it.
  4. Check totals on a small sample.
  5. Select Process input and review the result.
Example input
SKU,Item,Quantity
00104,"Pocket, notebook",2
00105,Pencil,3

Example use

Group orders by region and month to see counts for each combination, or total numeric quantities within those groups.

Output and compatibility

The supported aggregations are counts and numeric sums. Blank values in a sum contribute zero. Currency symbols, locale separators or other nonnumeric text can cause rejection.

Troubleshooting

If a numeric column does not work, clean its values to plain numbers before running the pivot. Confirm your row and column groups are assigned in the correct order.

Use Filter CSV first to pivot a subset of the records.

Frequently asked questions

Can I make a pivot without a numeric column?

Leave the value field blank for counts.

What if a region has no rows in a month?

That combination is displayed as zero.

Find a tool