COUNTUNIQUE

Counts the number of unique values in a list of specified values and ranges. Learn more

Video field
Math

COUNTUNIQUE is a function in Google Sheets that counts the number of unique values in a specified range or list of values.

For example, if you have a column of data with duplicate values, and you want to know how many unique values there are, you can use the COUNTUNIQUE function. This function will count only the unique values in the range, and it will ignore any duplicates.

The syntax of the COUNTUNIQUE function is straightforward. You simply specify the range or list of values that you want to count, and the function will return the number of unique values in that range or list.

Here's an example:

Let's say you have a list of fruit in column A, and you want to know how many unique types of fruit there are. You can use the COUNTUNIQUE function like this:

=COUNTUNIQUE(A2:A10)

This function will count the number of unique values in the range A2:A10, which contains the list of fruit. The result will be a single number that represents the number of unique types of fruit in the list.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!