Simple Pivot Table to Count Unique Values

UPDATE: You can do this now automatically with Excel 2013. I’ve created this as a new answer because my previous answer actually solves a slightly different problem.

If you have that version, then select your data to create a pivot table, and when you create your table, make sure the option ‘Add this data to the Data Model’ tickbox is check (see below).

Tick the box next to 'Add this data to the Data Model'

Then, when your pivot table opens, create your rows, columns and values normally. Then click the field you want to calculate the distinct count of and edit the Field Value Settings:
Edit field value settings

Finally, scroll down to the very last option and choose ‘Distinct Count.’
Choose the option 'Distinct Count'

This should update your pivot table values to show the data you’re looking for.

Leave a Comment