How to count unique values excluding duplicates in Excel?
For example, there is a name list mixed with duplicates, how to only count the unique values excluding duplicates (the values that appear in the list only once) in the list? This article will show you two methods to get it down in details.
Count unique values excluding duplicates with formula
Easily count unique values excluding duplicates with an amazing tool
Count unique values excluding duplicates with formula
Take the data of the below screenshot shown as an example, let's see how to apply formula to count unique names totally excluding duplicates.
1. Select a blank cell to output the result.
2. Enter the below formula into it and press the Enter key to get the result.
=SUM(IF(FREQUENCY(MATCH(A2:A7,A2:A7,0),ROW(A2:A7)-ROW(A2)+1)=1,1))
Notes:
1) In the above formula, A2:A7 is the range containing the names you want to count.
2) B3 is the first name in the range. You can change them as you need.
Easily count unique values excluding duplicates with an amazing tool
You can also apply the Count Unique Values utility of Kutools for Excel to easily count only unique values excluding duplicates in a list. Please do as follows.
1. Select a blank cell to output the result, then click Kutools > Formula Helper > Formula Helper.
3. In the Formulas Helper dialog box, you need to:
- Find and select Count unique values 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 in which you want to count unique values;
- Click the OK button.
Now only the names that appear in the list once are counted. See below screenshot:
If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.
Demo: Count unique values in a column in Excel
Kutools for Excel includes 300+ powerful features for Microsoft Excel. Free to try with no limitation in 30 days. Download now!
Related articles:
- How to count cell numbers between two values or dates in Excel?
- How to count number of cells with text or number in Excel?
- How to count cells with specific text in Excel?
- How to count number or Yes or No answer in Excel?
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!