.

.

Wednesday, May 11, 2016

Roshan Thpa

Find Duplicates in Excel

This example teaches you how to find duplicates (or triplicates) in Excel. Go here to remove duplicates.
1. Select the range A1:C10.
Find Duplicates in Excel
2. On the Home tab, click Conditional Formatting, Highlight Cells Rules, Duplicate Values...
Click Highlight Cells Rules, Duplicate Values
3. Select a formatting style and click OK.
Select a Formatting Style
Result. Excel highlights the duplicate names.
Duplicates
Note: select Unique from the first drop-down list to highlight the unique names.
As you can see, Excel highlights duplicates (Juliet, Delta), triplicates (Sierra), quadruplicates (if we have any), etc. Execute the following steps to highlight triplicates only.
4. First, clear the previous conditional formatting rule.
5. Select the range A1:C10.
6. On the Home tab, click Conditional Formatting, New Rule...
New Rule
7. Select "Use a formula to determine which cells to format".
8. Enter the formula =COUNTIF($A$1:$C$10,A1)=3
9. Select a formatting style and click OK.
New Formatting Rule
Result. Excel highlights the triplicate names.
Triplicates
Explanation: =COUNTIF($A$1:$C$10,A1) counts the number of names in the range A1:C10 that are equal to the name in cell A1. If COUNTIF($A$1:$C$10,A1) = 3, Excel formats the cell. Because we selected the range A1:C10 before we clicked on Conditional Formatting, Excel automatically copies the formula to the other cells. Thus, cell A2 contains the formula =COUNTIF($A$1:$C$10,A2)=3, cell A3 =COUNTIF($A$1:$C$10,A3)=3, etc. Notice how we created an absolute reference ($A$1:$C$10) to fix this reference.
Note: you can use any formula you like. For example, use this formula =COUNTIF($A$1:$C$10,A1)>3 to highlight the names that occur more than 3 times.

Roshan Thpa

About Roshan Thpa -

Roshan Kumar Thapa is veteran keen tech-savvy person which has enabled him to qualify for the job. He has knowledge in wide range of IT fields. He is highly trained and skilled in Graphic design, Tally, A+ hardware and networking, AutoCAD, Web Design/Development, Application Development, Video editing, Q-Basic and had good knowledge of C, C++, C# and Java programming. He keeps a keen interest in information technology and loves to keep himself updated through news, magazines, books, and blogs. He likes to learn and share his knowledge. He also runs a blog where he posts updates about the latest advancements in technology and his own teachings as well.

Subscribe to this Blog via Email :