How to Count Unique Text Values in Excel

In case your Excel list contains both text and numerical values and you want to count only unique text values then you can count unique text values in Excel by using ISTEXT Function to the formula.

Syntax:

=SUM(IF(ISTEXT(A2:A10)*COUNTIF(A22:A10,A2:A10)=1,1,0))

ISTEXT functions return TRUE if the checked value is text value or else FALSE.  Here in the formula (*) asterisk works as the AND operator in the formula, which means the IF function returns 1 only if a value is both text and unique, Otherwise 0. And the SUM function adds up all 1’s and you can get the count of text values as the output.

Note: Always remember to press Ctrl + Shift + Enter for an array formula.

 

As you can see the formula returns the value 2, because we have only two text +unique values. 

How to Count Unique Values in Excel? 5 Easy Ways

Count Unique values in Excel is a feature that can help you to find the values that occur only once in the huge list of Excel. We often need to report the Unique number of customers purchased, the number of products in our stock, List of regions our business covered.  

In this article, we explain how to count unique values in an Excel column.

How to Count Unique Values in Excel? 5 Easy Ways

Before moving ahead you should know the difference between unique values and distinct values.

  • Unique Values: These are the values that occur only once. Unique Values from the list {1,2,3,1,4,2,7,5,7} are {3,4,5}.
  • Distinct Values: These are the Values that are different. Distinct values from the list are {1,2,3,1,4,2,7,5,7} are {1,2,3,4,5,7}.

Similar Reads

How to Count Unique Values in Excel?

Unique Values in Excel appear in a list of items that occur only once. The main aim of counting unique and distinct values is to separate them from the duplicates of the list in Excel....

Count Unique Values in a Column Using SUM and COUNTIF Functions

Using SUM and COUNTIF formulas together. This is the easiest and simplest way to find Distinct values in Excel....

How to Count Unique Text Values in Excel

In case your Excel list contains both text and numerical values and you want to count only unique text values then you can count unique text values in Excel by using ISTEXT Function to the formula....

How to Count Unique Numeric Values in Excel

In case your Excel list consists of both types of values numeric as well as text. But you want the Count of Numeric that is unique in the list. In that case, you can use the ISNUMBER function in the formula....

How to use the UNIQUE Function to Count Unique Values in Excel

If you are using MS Office 365, you can use the below formula to compute the unique count....

How to use the COUNTA Function to Count Unique Values in Excel

COUNTIFS allows you to count values based on one or more criteria. COUNTIFS Function counts the distinct values from the range....

How to Count Distinct Values Using the Advanced Filters in Excel

Advanced filters are a feature in Excel that allows you to specify complex criteria using formulas....

How to Count Distinct Value Using Pivot Table

Follow the steps to Count Distinct values using the Pivot table:...

How to Count Distinct Values Using VBA

There is no in-built Function in Excel to Count the distinct values from the range. But with the help of VBA, we can make our function count the distinct Values in Excel....

How to Count Unique Values in Excel – FAQs

Is there a formula to count unique values in Excel?...

Contact Us