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...

We're all about QuickBooks this morning. First, read this late-breaking news from John Stokdyk, editor of AccountingWEB (U.K.), who is attending the QuickBooks Connect conference in San Jose, California. Then, for more...
Technology—specifically internet technology—has a record of disrupting tried-and-true methods of operation in ways that we often don't foresee. Look no further than the recent HBO announcement that they *gasp...
If you're thinking that bitcoin and digital currency generally are merely some one-off flash in the pan, the new Digital Currency Council would argue otherwise. The council launched in September and already had 400...

Already a member? log in here.

Upcoming CPE Webinars

Oct 23Amber Setter will show the value of leadership assessments as tools for individual and organizational leadership development initiatives.
Oct 30Many Excel users have a love-hate relationship with workbook links.
Nov 5Join CPA thought leader and peer reviewer Rob Cameron and learn ways to improve the outcome of your peer reviews while maximizing the value of your engagement workflow.
Nov 12This webcast presents basic principles of revenue recognition, including new ASU 2014-09 for the contract method. Also, CPAs in industries who want a refresher on revenue accounting standards will benefit.