Identifying Duplicate Values in an Excel List
by Terri Eyden on
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:
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
- Click on cell A1 and then choose Filter on the Data tab of Excel's ribbon.
- Click the Filter arrow in cell C1, choose Number Filters, and then Greater Than.
- Enter 1, and then click OK to filter the list to for duplicate values.
Excel 2003 and earlier
- Click on cell A1, then choose Data, Filter, and then AutoFilter.
- Click the Filter arrow in cell C1 and then choose Custom.
- 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 firstname.lastname@example.org or follow him on Twitter. David also presents monthly Excel webcasts for AccountingWEB partner CPE Link.
You may like these other stories...
It’s almost Selection Sunday, when it seems that everyone in the country, including President Obama, makes their picks for the Final Four. There’s no need to search the Internet for a bracket template – you...
With high school teachers having to vie against all things digital to capture their students’ attention, it’s more important than ever for them to use fun and interactive lessons to bring accounting principles to...
Building complex spreadsheets without lookup formulas, such as VLOOKUP, is akin to putting a screw in the wall with a hammer. It’s possible, but the results aren’t pretty, and most probably won’t maintain...
Upcoming CPE Webinars
BAR is an acronym for: Boundaries, Authority and Role. This simple tool will provide participants with a solid understanding of leadership essentials to improve their performance.
This material is designed to provide a start-to-finish overview of how to plan and complete high-quality small audits efficiently.
In this session Excel expert David H. Ringstrom, CPA shares numerous techniques that you can use to work with charts more efficiently.
Key Accounting and Reporting Issues for Nonprofits No. 1: Overview and Statement of Financial Position
This material focuses on non-profit organizations organization, accounting and reporting.