Ever wanted to get distinct count in Excel? You can use Pivot Table to get the answer quickly. Something like this:

Here is a simple trick to add distinct count to Excel pivot tables quickly.
Let’s say you have data like this:

As you can see, several products are repeated on each day. When you make a pivot table from this data and add product count, Excel counts all products. But we want to see just the distinct count (ie if there is a duplicate product in a day, we want to count it just once). To get distinct count in the pivot table,
These instructions work only in Excel 2016, Office 365 and Excel 2013.
- Insert a pivot table from your data
- In the create pivot dialog, enable “Add this data to data model” option.

- Once you have the pivot table canvas, add the product (or any other field for which you want to calculate distinct count) to the values area.
- Right click on the values, go to “Value field settings”.

- Summarize the value by “Distinct count”. This is the last option.
- All done!
Distinct Count in Excel Pivot Tables – Example Workbook
If you want to practice this or want to see this with an example, here is the workbook.













3 Responses to “How-to create an elegant, fun & useful Excel Tracker – Step by Step Tutorial”
Hi Chandoo,
I am responsible for tracking when church reports are submitted on time or not and the variations from the due date for submission.
Here is the Scenario;
The due date for the submission of monthly reports is on the 5th of each month. and I would like to know how many reports have been submitted on time (i.e, those that have been submitted on or before the due date) I would also want to track those reports that have been submitted after the due date has passed.
How can I create such a tracker?
Hi Chandoo,
I am a member of your excel school.
I was trying to create SOP Tracker I follow all your steps but I keep this error below.
The list source must be a delimited list, or a reference to a single row or cell.
I try looking on YouTube for answer but no luck.
can you help on this?
thanks
Carl.
Dear Mr. Chando,
Rakesh, I'm working in a private company in the UAE. Recently, I'm struggling to get more details about the staff sick, annual, unpaid, and leaves. I would like to get a tracker in excel. Could you please help me in this situation?
I also watching your videos in YouTube. i hope you can help me on this situation.