Skip to main content

Pivot Table

Create a pivot table from Excel, CSV, or JSON data: choose row and column dimensions, select an aggregation, preview the cross-tab, and export the result.

  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Build a true pivot table by selecting a row dimension, a column dimension, and an aggregation.

Your files are processed locally in your browser and are never sent to our servers.

Drop your file here

Recommended size: up to 30 MB

Options

Was this tool useful?

On this page

How does this tool work?

A pivot table turns a detailed list into a summary matrix. One column supplies the row groups, another supplies the categories that become output columns, and an aggregation summarizes each intersection. Use it to compare sales, tickets or measurements without maintaining spreadsheet formulas. This tool performs one aggregation across two dimensions. It produces a table of values rather than an interactive reporting dashboard, an Excel pivot object or an automatically generated chart with hierarchical subtotals.

Import CSV, TSV, XLSX, XLS or flat tabular JSON. The drop zone accepts files up to 30 MiB; a very wide matrix may reach your browser’s practical memory limit sooner. Workbook imports use the first sheet here, without a sheet picker. Formatting, macros and live formulas are not preserved. Choose different columns for the row and column dimensions. Selecting the same column twice produces an error rather than a redundant matrix.

Count includes every record at an intersection, even when its measurement is empty. Sum, Average, Minimum and Maximum use only finite numeric values from the selected measurement column. Decimal points, decimal commas and valid space-separated thousands are recognized. Empty strings, booleans and annotations such as 12 USD do not become zero. Average divides by the number of accepted numeric measurements rather than by every record in the group. Choose a measurement with consistent units before interpreting the result.

Categories follow first appearance, with no automatic calendar sorting. Labels differing in case or surrounding spaces stay separate. JSON types may also distinguish a number from the same characters stored as text. A missing combination produces null, displayed as an empty exported cell rather than a fabricated zero. Output column labels are made unique when necessary. CSV and XLSX exports contain the complete matrix, without automatically adding grand totals.

How to use this tool

  1. Choose the grouping level

    Import the intended sheet and select two dimensions. Inspect blank categories, spaces and spelling variants before treating similar labels as different groups.

  2. Select a meaningful operation

    Use Count for events, or select a numeric value column for another operation. Avoid summing percentages or previously calculated averages without a valid business reason.

  3. Check one intersection

    Recalculate a small group from the source and compare it with the output. Distinguish an absent combination from a measured zero before exporting the matrix.

Group count and average

Count uses every record in group G. Average uses only its numeric subset V; no numeric average is produced when V is empty.

N(G) = count(G); mean(G) = sum(V) / count(V)

Use cases

Sales by area and month

Sum sales for each area and period after aligning currencies and month labels across the source records.

Ticket distribution

Count tickets by team and status to compare workload without confusing event counts with total handling time.

Average measurements

Compare average readings by site and category while checking how many numeric measurements actually support each value.

Examples

Sum amounts

Rows: area; columns: month; values: amount; aggregation: sum. North/January becomes 25; missing combinations stay empty.

Input

area;month;amount
North;January;10
North;January;15
South;February;8

Result

area;January;February
North;25;
South;;8

Count records without numeric readings

Rows: team; columns: status; aggregation: count. Both open tickets count even though neither has a numeric duration.

Input

team;status;duration
A;open;unknown
A;open;
A;closed;5

Result

team;open;closed
A;2;1

Tips and best practices

  • Use useful categories rather than unique record identifiers as dimensions. Thousands of distinct labels can produce a sparse matrix that consumes substantial memory and communicates little.
  • Keep missing combinations separate from measured zeros. Replacing every blank with zero can change the meaning of a report when no observation was recorded for that intersection.
  • Use Unpivot first when monthly measurements already occupy separate columns. A pivot summarizes records; it does not preserve the detail needed to reconstruct every original event.

Frequently asked questions

Why do Count and Average use different sample sizes?

Count includes every record in the intersection. Average excludes missing and nonnumeric measurements and divides by the remaining numeric count. Ten events may therefore contribute only eight usable measurements. Check that coverage before comparing averages across groups.

Does the XLSX export contain interactive Excel pivot controls?

No. The export contains already aggregated values. It does not create an Excel pivot object with refresh, filters, hierarchical subtotals or calculated fields. Keep the detailed source so you can run the tool again with different dimensions or operations.

Why are similar category labels separate?

Category matching does not automatically trim spaces or ignore case. JSON value types also matter. Clean labels beforehand when those differences have no business meaning. The tool cannot determine whether two spellings genuinely refer to the same category.

Are files uploaded for aggregation?

No. Reading, grouping and export happen in your browser. The 30 MiB import limit does not guarantee that a matrix with thousands of distinct categories will fit comfortably in memory. Reduce the dimensions or source volume when necessary.

Related tools

Tools similar or complementary to this one.

Works well with

Profile every CSV column with detected type, missing values, cardinality, and descriptive numeric statistics.

Data & spreadsheetsUse this tool

Convert Excel, CSV, and other spreadsheet formats directly in your browser.

Data & spreadsheetsFeaturedUse this tool
GuideBest practicesBeginner

Split a CSV or Excel table into smaller files

Discover when to split a large table by row count or by a column value, and how to preserve a useful structure in every output file.

29 August 20262 min