Skip to main content

How to find duplicates in Excel ?





Let's say that we have a long list of something and we assume that some elements of this list are repeated more than 1 time. I would like to see these repetitions explicitly, i.e. highlight duplicates with color. There are several ways to do this in Excel.

Find Duplicate in Excel

Select all the cells with data and on the tab Home.

- Home 
Conditional Formatting 
– Highlight Cells Rules
– Duplicate Values

In the window that appears then, you can set the desired formatting (filling, font color, etc.)

Find Duplicate in Google Sheets

If you want to highlight not single cells, but entire rows at once, you will have to create a conditional formatting rule with a formula. To do this, select all the data in the table and select 

- Format
- Conditional formatting 
- Custom Formula is
- Use a formula to determine which cells to format

 


and then enter the formula:

=COUNTIF($A$2:$A$20,$A2)>1

where

  • $A$2:$A$20 is the column in the data where we are checking for uniqueness
  • $A2 - reference to the first cell of the column

Comments

Popular posts from this blog

BDCOM OLT All Commands ( BDCOM )

 

BDCOM How to reboot ONU

  When connecting, let’s switch to elevated privilege mode:        Enable       epon reboot onu interface ePON 0/2:1           Are you sure to reboot the ONU(y/n) To answer the question below, press the y key  Watch full videos in YouTube Visit Also BDCOM How to reboot ONU -  New! BDCOM. How to reboot ONU How to view information about ONU on BDCOM OLT Setting up BDCOM P3310 EPON

Configuring Cisco Nexus N3K-C3064PQ-10GX Cisco Nexus 3000)

  The switch has 48 SFP+ 10 Gb/s and 4 QSFP+ 40 Gb/s ports When connecting for the first time through the console, specify the password for the admin user: Do you want to enforce secure password standard (yes/no): yes    Enter the password for "admin":    Confirm the password for "admin":       Would you like to enter the basic configuration dialog (yes/no): no Switch to configuration mode and specify the firmware file: configure terminal show incompatibility nxos bootflash:nxos.7.0.3.I4.6.bin boot nxos bootflash:/nxos.7.0.3.I4.6.bin exit Save the configuration and reboot the switch: copy running-config startup-config   reload This command will reboot the system. (y/n)?  [n] y Next, we look at the current and saved configuration: show running-config show startup-config During switching on the switch, if necessary, you can switch to bootloader mode: Press  ctrl L to go to loader prompt in 2 secs From the bootloader, ...