Excel Pivot Table COUNT UNIQUE

If you just need to excel pivot table count unique and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: select a clean data range, choose Insert ▸ PivotTable, place fields into Rows, Columns, Values and Filters, then refresh when the source data changes.

ƒxQuick Pivot SummarizerLive
Groups
3

Grand total: 1,250.50

RegionSum
West125.50
East1050
South75

The same thing in your own sheet

Sum · Excel & Sheets

Put your group keys in a column (here starting at E2) and fill the formula down.
Real pivot table: Excel — select your data, Insert → PivotTable, drag the group column to Rows and the value column to Values. Google Sheets — select the data, Insert → Pivot table. · Runs entirely in your browser — your data never leaves this page.
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

What this does

A pivot table summarizes a flat data table without writing formulas. Rows and Columns define the groups, Values define the numbers to aggregate, and Filters or slicers narrow the view. It works best when the source has one header row, no blank columns, one record per row and consistent data types. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel pivot table count unique”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected pivot table change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a data step that keeps your analysis trustworthy useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A sales table has Date, Region, Rep and Revenue columns. Insert a PivotTable, drag Region to Rows and Revenue to Values. Excel returns total revenue by region. Drag Date to Columns and group by Month to turn the same source into a monthly regional summary. Pivot tables are one of the highest-leverage Excel tools for summarizing messy transactional data into totals by customer, region, month, product or owner. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “excel pivot table count unique”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Using a report layout with merged cells or subtotals as the source.
  • Forgetting to refresh after source data changes.
  • Letting Excel count a numeric field because one source cell contains text.
  • Building formulas beside a pivot table without allowing for the pivot size to change.

Frequently asked questions

What is a pivot table?

It is an interactive summary table that groups and aggregates records from a source table.

Why is my pivot table counting instead of summing?

At least one value in the source field is text or blank in a way that makes Excel treat the field as non-numeric.

How do I update a pivot table?

Right-click the pivot table and choose Refresh, or use Data ▸ Refresh All.

Other ways people ask this

On the way here you may have searched this as “unique count in excel pivot table”, “count unique excel pivot table” and “excel pivot table unique count” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “unique count in excel pivot table”, “count unique excel pivot table”, “excel pivot table unique count” all point at the one operation explained on this page, which is why they all lead here.