Written by Allen Wyatt (last updated October 30, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365
Nolan has a column of unsorted values, comprising more than 2,500 rows. He would like to extract a list of values that appear more than twice in the column. He wonders if there is a formulaic way to do this.
A formulaic approach requires the use of the newer dynamic array functions. Assuming that the values are in column A, you can use this formula:
=UNIQUE(FILTER(A1:A3000, COUNTIF(A1:A3000, A1:A3000) >2))
The FILTER function filters the data in column A according to the specification that there are more than two of the value, and then UNIQUE returns the unique values from the results of the FILTER. You can also use the LET function to approach the task from two different angles:
=LET(X,A1:A3000, Y,COUNTIF(X,X), UNIQUE(FILTER(X,Y>2))) =LET(X,A1:A3000, Y,UNIQUE(X), FILTER(Y,COUNTIF(X,Y)>2,""))
If you are using an older version of Excel (all the formulas so far require Excel 2021, 2024, or Microsoft 365), then there is not a simple formulaic solution. Instead, you'll need to use a helper column to specify the number of instances of each value and then use the Advanced Filter tool to copy those values with greater than 2 instances to another location. Even though Nolan specifically asked for a formulaic solution, here's how you would implement the Advanced Filter approach:
=COUNTIF(A$2:A$3000,A2)
When you see how many steps it takes to perform such a filtering operation, you can easily understand why users were excited for the newer dynamic array worksheet functions that made a formulaic extraction possible.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3196) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel Data Analysis and Business Modeling today!
Want to sum the values in the same cell on a range of worksheets? It's not as easy as summing a range on the same ...
Discover MoreExcel allows you to easily combine text together. Interestingly, it provides two ways you can perform such combinations. ...
Discover MoreIf you need to know how many cells contain a particular word, there is a variety of ways that you can find the answer. ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2025 Sharon Parq Associates, Inc.
Comments