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

In the old days, we used to tape down receipts from our travels and submit them to accounts payable. But that was before remote employees who may live in a different city from the home office. And of course, there's all...
In 2011, electrical services and technology provider Parsons Electric in Minneapolis, Minn., decided to take its accounting to the cloud. Monica Ross, the company's director of strategic projects, talked with AWEB about...
Event Date: July 24, 2014, 2 pm ET In this presentation Excel expert David Ringstrom, CPA revisits the Excel feature you should be using, but probably aren't. The Table feature offers the ability to both boost the...

Upcoming CPE Webinars

Jul 16
Hand off work to others with finesse and success. Kristen Rampe, CPA will share how to ensure delegated work is properly handled from start to finish in this content-rich one hour webinar.
Jul 17
This webcast will cover the preparation of the statement of cash flows and focus on accounting and disclosure policies for other important issues described below.
Jul 23
We can’t deny a great divide exists between the expectations and workplace needs of Baby Boomers and Millennials. To create thriving organizational performance, we need to shift the way in which we groom future leaders.
Jul 24
In this presentation Excel expert David Ringstrom, CPA revisits the Excel feature you should be using, but probably aren't. The Table feature offers the ability to both boost the integrity of your spreadsheets, but reduce maintenance as well.