Skip to playerSkip to main contentSkip to footer
  • 5/1/2025
Discover 2 ways to get unique values from a range in Excel.

In Excel there is no UNIQUE() function call, however, Excel offers various advanced features to manipulate data, including the powerful "Advanced Filter" function that allows users to filter data by unique values or multiple criteria. Another popular function is the "INDEX-MATCH" formula, which is used to look up and retrieve data from a table, providing more flexibility than the traditional "VLOOKUP" function. By mastering these functions, users can efficiently manage and extract valuable insights from their data in Excel.

1) Advanced Filter
2) Index-Match (Array Formula)

Unique Values Using Advanced Filter
1) Select Dataset
2) Data --- Sort and Filter --- Advanced
3) Copy to another location
4) Copy to is $B$1
5) Unique records only
6) OK

You can easily get unique values from your dataset in Microsoft 365 using a unique function like this.
Likewise, in Google sheet, you can use the unique function like this as well.
However, in the Excel standalone application, unique function is not available.
These are the 2 ways to get UNQIUE values from your dataset in the excel standalone application.

Unique Value Using Index-Match (array formula)
1) Select B2
2) Enter formula
=IFERROR(INDEX($A$2:$A$18, MATCH(0,COUNTIF($B$1:B1, $A$2:$A$18), 0)),"")
3) Ctrl + Shift + Enter
Note the curly braces in your formula which denotes array output.
4) Copy and paste the formula

Count number of occurrence
Use this formula
=COUNTIF(A2:A18,B2)



excel distinct values formula,find unique values in excel multiple columns,excel get unique values from column,extract unique values from excel column using formula without array,unique function in excel,unique function not available in excel,formula to automatically remove duplicates in excel,unique formula in excel 2016,
excel unique values in range formula,excel unique values in range,get unique values from a range in excel,how do i get unique values from different sheets in excel,pull unique values from a list in excel,
excel distinct values formula,excel get unique values from column,unique function in excel,unique function not available in excel,unique formula in excel 2016,find unique values in excel multiple columns,

https://www.listendata.com/2013/05/excel-3-ways-to-extract-unique-values.html
Transcript
00:00You can easily get a unique values from your data set in Microsoft 365 using a
00:04unique function like this. Likewise, in Google Sheet, you can use the unique
00:09function like this as well. However, in Excel standalone application, unique
00:14function is not available. These are the two ways to get unique values from your
00:18data set in the Excel standalone application. The first method is to use
00:22advanced filter. Make sure you're on a data tab, sort and filter, and advanced. In
00:29here, you're going to select copy to another location. This is your data set,
00:33and copy to, I'm going to start with B1 here, and unique record. I'm going to put a
00:39check here and click on OK. The second method is to use index match. Let me undo
00:44this. Select your cell B2 here to start off with, and press F2 to enter the cell
00:51edit mode, and use this formula. After that, once you enter this formula, press
00:57Ctrl, Shift, and Enter to make it into an array output like this. Make sure you have
01:03a curly braces here, as you can see in my formula. You don't really see it here if
01:08you press F2, but if you look at this formula here, you see a curly braces here.
01:11Once that's done, scroll all the way down or drag all the way down the cell
01:15formula, and you'll get unique values as well. And to get the number of occurrence,
01:20you simply use this formula. Let me reorganize my table here. You can simply use
01:29this formula like that, and then apply to every row.

Recommended