Easily count all distinct values in a range in Excel
Kutools for Excel
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.
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.
The following tools can greatly save your time and money, which one is right for you?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: More than 300 Advanced Functions for Excel 2021, 2019, 2016, 2013, 2010, 2007 and Office 365.
The functionality described above is just one of 300 powerful functions of Kutools for Excel.
Designed for Excel(Office) 2021, 2019, 2016, 2013, 2010, 2007 and Office 365. Free download and use for 60 days.