# How to Use Excel UNIQUE Function?

Excel UNIQUE Function: Sometimes, we have huge data and want to extract unique values from it. Doing this manually will take a long time to finish. Meanwhile, you will be frustrated because of searching for the unique values in the Excel worksheet. For making your work easy and simple, Excel provides a UNIQUE function. It helps you to do your work as quickly as possible.

In this blog post, we will help you to know how to use the Excel UNIQUE function in the worksheet with its syntax, explanation, and examples. Get an official version of MS Excel from the following link:

https://www.microsoft.com/en-in/microsoft-365/excel

## Explanation of UNIQUE Function

• It is one of the built-in functions in Microsoft Excel.
• The UNIQUE function will return a list of unique values from the range of input.
• We can give the input values as text, numbers, dates, times, etc.

## Syntax

• Here, you will see the syntax of the UNIQUE function.
• To apply this function on your spreadsheet, you must select a cell and enter the formula in the following format.
• Once you enter the formula, click on the button to get the result.

=UNIQUE (array, [by_col], [exactly_once])

Argument Explanation:

• array – Range or array from which to extract unique values.
• by_col – It is an optional one. How to compare and extract. By row = FALSE (default); by column = TRUE.
• exactly_once – TRUE = values that occur once, FALSE= all unique values (default). This is an optional one.

## Examples

Let’s look at some practical examples of the UNIQUE Function and explore how to use it in Microsoft Excel.

• Initially, you have to open your Excel workbook on your PC and launch the worksheet with data.
• For instance, we have given a range of values as shown in the below screenshot. And we will get the unique values by ignoring the repeated values from the range using the UNIQUE function.
• Then, you have to enter the formula in the cell as shown below to get the result.
• After entering the formula, you need to click the  button to get the output.