Skip to main content

Kutools for Office — One Suite. Five Tools. Get More Done.

Easily count all distinct values in a range in Excel

Author Siluvia Last modified

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.

shot-count-distinct-values-1

1. Select a blank cell to output the result.

2. Go to the Kutools tab, click Formula Helper > Formula Helper.

shot-count-distinct-values-2

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.

shot-count-distinct-values-3

Then the total number of distinct values is populated in selected cell.

shot-count-distinct-values-4

Note: If you like this Formula Helper, you can click the Share icon shot-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.

shot-count-times-a-word-appears-10


Demo: Count all distinct values in a column in Excel

 
Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

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.

🌍 Supports 40+ interface languages
✅ Trusted by 500,000+ users and 80,000+ businesses worldwide
🚀 Compatible with all modern Excel versions
🎁 30-day full-featured trial — no registration, no limitations
Kutools for Excel RibbonKutools for Excel Ribbon