Easily count all distinct values in a range in Excel
Kutools for Excel
Boosts Excel With 300+
Powerful Features
A combination of the SUM or SUMPRODUCT function and the COUNTIF functions can help to count all distinct values (all the different values) in a list in Excel. However, it may be time-consuming and difficult for those formula newbies. Here recommend you a handy tool – the Count cells with unique values (include the first duplicate value) feature of Kutools for Excel. With this feature, you can easily count all distinct values in a column range with only several clicks.
Count all distinct values in a range in Excel
Let’s see how to apply the Count cells with unique values (include the first duplicate value) feature to count all distinct values in a column in Excel.
1. Select a blank cell to output the result.
2. Go to the Kutools tab, click Formula Helper > Formula Helper.
Tip: you can also click Kutools > Formula Helper > Statistical > Count cells with unique values (include the first duplicate value) to enable this feature.
3. In the Formulas Helper dialog box, please configure as follows.
- Find and select Count cells with unique values (include the first duplicate value) in the Choose a formula box;
Tip: you can check the Filter box, type in certain words to filter the formula names. - In the Range box, select the range of cells in which you want to count distinct values;
- Click the OK button.
Then the total number of distinct values is populated in selected cell.
Note: If you like this Formula Helper, you can click the Share icon in the Formulas Helper dialog to share it with your friend via email or share to social medias such as Facebook, Twitter, Linkedin and Weibo.
Demo: Count all distinct values in a column in Excel
Productivity Tools Recommended
Office Tab: Use handy tabs in Microsoft Office, just like Chrome, Firefox, and the new Edge browser. Easily switch between documents with tabs — no more cluttered windows. Know more...
Kutools for Outlook: Kutools for Outlook offers 100+ powerful features for Microsoft Outlook 2010–2024 (and later versions), as well as Microsoft 365, helping you simplify email management and boost productivity. Know more...
Kutools for Excel
Kutools for Excel offers 300+ advanced features to streamline your work in Excel 2010 – 2024 and Microsoft 365. The feature above is just one of many time-saving tools included.

