How To Count Unique Values In Google Sheets

If you have been using Google Sheets for some time now, you might already be familiar with the different functions for counting cells. Depending on what type of cells you want to count—blank or non-blank, colored or bold—there are various functions that can help you. But what happens when your spreadsheet contains unique values? This is where the COUNTUNIQUE formula comes in.

How To Count Unique Values In Google Sheets

In this article, we’ll discuss how to count unique values in Google Sheets using the COUNTUNIQUE formula. We’ll also talk about counting unique values in a single column.

How to Count Unique Values in Google Sheets

Knowing how to count cells in Google Sheets can be useful for many reasons, especially if you’re working with a large dataset. If you only have a small amount of data, you would be able to count the number of specific cells manually. Google Sheets offers various functions for counting different types of cells in a specific data range, including blank cells, text cells, colored cells, bold cells, and more. These are called COUNT functions.

In some cases, you might be required to know the number of unique values in your spreadsheet. For example, you might need to know how many times a certain name or product appears in your spreadsheet. For this, we will be using the COUNTUNIQUE function. It’s used to count the number of unique values in a range or some kind of specified list. To be more precise, you can use the COUNTUNIQUE formula for dates, numbers, names, products, cell references, or random data.

You can also use the COUNTUNIQUE formula to see if there are any duplicates of the unique value. This helps you find errors in your spreadsheet and makes it generally easier to keep track of all your data.

To count unique values in Google Sheets, follow the steps below.

  1. Open Google Sheets on your preferred browser.
    How To Count Unique Values In Google Sheets
  2. Go to your spreadsheet or create a new one.
    How To Count Unique Values In Google Sheets
  3. Double-click on a random empty cell.
    How To Count Unique Values In Google Sheets
  4. Type in “=COUNTUNIQUE” and an open parenthesis. Make sure to delete any space between the formula and the opening parenthesis.
    How To Count Unique Values In Google Sheets
  5. Enter the range after the parenthesis. For example, “(A2:C30).”
    How To Count Unique Values In Google Sheets
    Note: The first letter represents the start column and the second letter indicates the end column. The numbers signify where the rows start and finish.
  6. Close the parentheses. The entire formula should look like this: “=COUNTUNIQUE(A2:C30)” without spaces.
    How To Count Unique Values In Google Sheets
  7. Press “Enter” on your keyboard.
    How To Count Unique Values In Google Sheets

The number of the unique values in your spreadsheet will appear in the empty cell where you wrote the formula. For example, if you see the number “7” in the cell, it means there are seven instances of unique values in the spreadsheet.

The COUNTUNIQUE formula is used to count the number of unique values within a specific range. But what if you want to find the exact unique values? In this case, we will be using the UNIQUE function, without the COUNT.

For example, say you wrote the names of all your students in one spreadsheet, and you want to see how many students have the same name. Similarly, if you have compiled a list of various products, the UNIQUE function can help you identify which product names are duplicates.

Here’s how you can use the UNIQUE function to display the unique values in your Google Sheets spreadsheet.

  1. Go to Google Sheets and open your spreadsheet.
    How To Count Unique Values In Google Sheets
  2. Double-click on an empty cell anywhere in the spreadsheet.
    How To Count Unique Values In Google Sheets
  3. Type in the formula “=UNIQUE” in the empty cell.
    How To Count Unique Values In Google Sheets
  4. Enter the range in parentheses. For example, “=UNIQUE(A2:B39).”
    How To Count Unique Values In Google Sheets
  5. Press “Enter” on the keyboard.
    How To Count Unique Values In Google Sheets

All the unique values will be displayed in the form of a list. You can use this formula to see if there are any duplicates in the sheet and then remove them if that’s your goal.

Google Sheets Count Unique Values in Column

Using the COUNTUNIQUE formula to count unique values in a single column is even easier than doing so for a bigger range. Here’s how it’s done.

  1. Launch Google Sheets.
    How To Count Unique Values In Google Sheets
  2. Go to your spreadsheet or start one from scratch.
    How To Count Unique Values In Google Sheets
  3. Select a random empty cell and double-click on it.
    How To Count Unique Values In Google Sheets
  4. Enter “=COUNTUNIQUE” in the blank cell.
    How To Count Unique Values In Google Sheets
  5. Write the range in parentheses. Since we’re counting unique values within the same column, it should look like this: “(A2:A40).”
    How To Count Unique Values In Google Sheets
  6. Here’s what the whole formula should look like: “=COUNTUNIQUE(A2:A40).”
    How To Count Unique Values In Google Sheets
  7. Press the “Enter” key.
    How To Count Unique Values In Google Sheets

That’s all there is to it. The number of unique values will appear in the cell where you entered the formula.

Keep Track of All the Unique Values in Google Sheets

Although using functions to count values in Google Sheets may seem confusing at first, you’ll get the hang of it in no time. The COUNTUNIQUE formula is very useful for counting unique values in a selected data range, and it can even help you find duplicates.

Have you ever used the COUNTUNIQUE function to count unique values in Google Sheets? Did you use the instructions from this guide, or another method? Tell us about your experience with Google Sheets functions in the comments section below.

Sign up and earn $1000 a day ⋙

How to fix error 0xa00f4288 in Camera app on Windows 10 & 11

How to fix error 0xa00f4288 in Camera app on Windows 10 & 11

How to fix error 0xa00f4288 in the Camera app on Windows 10 & 11. Windows' default Camera App is the main tool for taking photos. So in the case of Win 10 & 11 cameras

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10, You can actually open multiple programs at the same time with a single key. Here's how to use one

How to delete old boot menu options on Windows

How to delete old boot menu options on Windows

How to remove old boot menu options on Windows, Windows 10 dual boot is useful but can leave redundant boot options in the menu. Here's how to remove the menu

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11. Windows 11 has officially been released for a while, but during use there are still many errors

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11, Entering text by voice on Windows 11 helps you significantly improve your work efficiency. Here's how

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11, Sticky Key makes the PC keyboard easier to use. Here's how to turn Sticky Key on and off on Windows 11.

What is Windows Modules Installer?

What is Windows Modules Installer?

What is Windows Modules Installer?, Windows Modules Installer sometimes takes up a lot of system resources. Is Windows Modules Installer important or not?

How to increase volume in Windows 10

How to increase volume in Windows 10

How to increase volume in Windows 10, How to increase computer volume to maximum level? Let's learn with WebTech360 how to increase Windows 10 computer volume

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11, Windows 11 Installation Assistant is one of the best ways to upgrade your computer to Windows 11.

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11, Does the PC startup sound bother you? Then please refer to how to turn off the startup sound for PC running Windows 11 below

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11. While using Windows 11, there are times when users will need to leave the computer for a period of time.

Windows 11 optimization guide to increase FPS when playing games

Windows 11 optimization guide to increase FPS when playing games

Instructions for optimizing Windows 11 to help increase FPS when playing games, Windows 11 is an operating system platform that is introduced as more improved in gaming quality, helping games

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu, Windows 11 brings some great new features and the Quick Settings menu is no exception. Here it is

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after turning on Hyper-V. Hyper-V helps you run virtual machines on Windows. However, after enabling Hyper-V, you cannot post again

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows, Windows displays error 0xc00007b when the application does not work properly. Below is a step-by-step guide to fix error 0xc00007b in

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11, Don't like the blurry screen when logging in on Windows 10/11? So, instructions on how to turn off and change the login screen

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11, Do you want to remove unwanted drivers on Windows 11? Then please see instructions on how to remove drivers in Windows

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10, No Internet Secured is a common error on Windows 10. Below are simple ways to fix No Internet Secured error

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save an Excel file on Windows. If you can't save the Excel file, don't worry too much. Below are ways to fix the error of not being able to save the above Excel file

How to open DMG files on Windows

How to open DMG files on Windows

How to open DMG files on Windows, DMG is a file format specific to the macOS operating system. However, you still have a way to open DMG files on Windows.