Identifying Duplicate Values in an Excel List

To remove the conditional formatting, one approach is to click the Conditional Formatting button, choose Clear Rules, and then Clear Rules from Entire Worksheet, as shown in Figure 3.
 
 
Figure 3: You can easily clear conditional formatting from a worksheet in Excel 2007 and later.
 
If you're using Excel 2003,  you don't have the ability to filter by color, but you can isolate duplicate values by way of the COUNTIF worksheet function. COUNTIF has two arguments:
  • Range: This is a range of two or more cells that you wish to test.
  • Criteria: The value that you're seeking within the range.
Building on the example shown in Figure 1, you can add the following formula to cell C2:
 
=COUNTIF(A:A,A2)
 
Once you've entered the formula, double-click on the Fill Handle in cell C2 to copy the formula down the column. The Fill Handle is the little notch that most users drag down a column when copying formulas.
 
You can then filter the list for any values greater than 1:
 
Excel 2007 and later
  1. Click on cell A1 and then choose Filter on the Data tab of Excel's ribbon.
  2. Click the Filter arrow in cell C1, choose Number Filters, and then Greater Than.
  3. Enter 1, and then click OK to filter the list to for duplicate values.
Excel 2003 and earlier  
  1. Click on cell A1, then choose Data, Filter, and then AutoFilter.
  2. Click the Filter arrow in cell C1 and then choose Custom.
  3. Change Equals to Greater Than, Enter 1, and then click OK.
 
Read Part 2 of this series to learn more ways to identify duplicate items an Excel spreadsheets.
 
See all articles by David Ringstrom.
 
About the author:
David H. Ringstrom, CPA heads up Accounting Advisors, Inc., an Atlanta-based software and database consulting firm providing training and consulting services nationwide. Contact David at david@acctadv.com or follow him on Twitter. David also presents monthly Excel webcasts for AccountingWEB partner CPE Link.

 

You may like these other stories...

You probably don't want to think about how many times you access the File menu in Excel 2010 or 2013. Personally I think Excel 2010 has the best possible File menu arrangement, other than having Print Preview grafted...
Following other recent high-profile hacking events, investigators discovered yesterday that hackers broke into the draft work paper files of several famous CPA firms. Revealing images of the scantily clad documents have been...
For bitcoin users, the taxman cometh. And you best know how to calculate taxes owed on what the IRS calls convertible virtual currency.In March 2014, the IRS issued Notice 2014-21, which declares virtual currency will be...

Already a member? log in here.

Upcoming CPE Webinars

Sep 24
In this jam-packed presentation Excel expert David Ringstrom, CPA will give you a crash-course in creating spreadsheet-based dashboards. A dashboard condenses large amounts of data into a compact space, yet enables the end user to easily drill down into details when warranted.
Sep 30
This webcast will include discussions of important issues in SSARS No. 19 and the current status of proposed changes by the Accounting and Review Services Committee in these statements.
Oct 21
Kristen Rampe will share how to speak and write more effectively by understanding your own and your audience's communication style.
Oct 23
Amber Setter will show the value of leadership assessments as tools for individual and organizational leadership development initiatives.