Skip to main content

How to Highlight Matching Values By Comparing Two Columns In Excel

Searching for the existence of similar values between the excel worksheet columns manually is fine when we have few values in a column, but if you have thousands of values in a column which has to be compared with another column for identical values, it may take a decade to do so.
Microsoft Excel is a powerful tool that can be used efficiently to do such a complex task in no time.

Read Also: How to protect Microsoft Excel documents with password 

How to Find Duplicate Values In Excel by Comparing Columns:-
For example, in the below image representation, In an Excel worksheet, we have values in two columns A and column C.
In order to identify and highlight the values of column A which are also available in column C, Microsoft's Excel tool has several built-in functions and techniques to do so, whereas not every option is simple and efficient, so here we share one of the easiest ways among them.
Sample Data With Employee ID's in Column A and Column C
  1. Step: Click on the column header to select entire column values and Tap on "conditional formatting" on the menu bar and click on New rule option.
    Select Column to be highlighted and tap on conditional formatting
  2. Now select rule type as "use a formula to determine which cells to format".
  3. And in "format values where this format is true field' enter the formula as =countif($C:$C, $A1).
    New formatting rule window
    • $C:$C = denotes the column to be compared.
    • $A1 = selected column (column values to be highlighted for same entries in the column C.)
    Note: change the alphabet in the above formula according to the column used in your excel sheet, here in this article, I have used column A and column C.
  4. Then click on the format on the same(New Formatting rule) window to open "format cells" window, here select any color of your choice to be highlighted when matching values found in the compared column.
    Format Cells - Fill Tab
  5. Now click on OK to confirm the chosen color.
  6. And the final result will look something like the below image representation.
    The result - highlighted matching values
Also Read: How to customize Windows Sticky Notes fonts, color, text, etc.

Additional Note: With the above steps we found the matching values by comparing a column with the other column and to segregate the highlighted and non-highlighted values, use filter options in Excel itself to do so, follow the below steps. 
  1. Select the column to filter out.
  2. On the menu bar Tap on Data -> click Filter and a drop-down arrow icon appears on the top of the selected column, click on it and select Sort by Color and select the color which is used to highlight the matching values.
Sort By Color

Comments

Popular posts from this blog

How to Disconnect Bsnl BroadBand and Landline Services Online

Most of the service providers and executives are experts in facilitating the procedures on how to avail the service but will keep their service termination procedures around the corner which will make it difficult for the users to switch on to other networks immediately and easily. Did you know there are people who rely on their faulty landline/broadband connection simply for the complex procedures and time it would take to close the faulty connection? But here in this blog, we have grabbed the termination process from around the hidden corners of the Bsnl portal to facilitate the Bsnl phone disconnection process in simple steps. Note: You can be an existing BSNL customer for years, however, it is mandatory to have an online account registered in the BSNL customer relationship management(CRM) self-care portal to access the online services. If you don't have one, create one by clicking on the below respective links to access your region Bsnl self-care portal for account mana...

How to Turn-Off Auto Correct in WhatsApp & Other Messengers

Dictionary is not only for the people who don't understand the meaning of a word but also used to know the spelling of a word because there are certain words that may phonetically sound the same but spell differently. Using short forms/abbreviated terms during chats is common among teens of this generation for an easy and fast way to communicate and convey information to anyone in contact. Though most of the short forms are auto-added in Messenger dictionary by default but short forms are extended day by day which interfere while typing to project a sentence but eventually auto-corrected to something else by the android keyboard bots. Also Read: How to Play iPhone(.mac) video format files in Android  How to Turn ON/Off Predictive Text While Typing in Messenger? Did you know! Text auto-correction is not a distinctive feature of Whatsapp, the WhatsApp or in any other social messenger's typewriter will be incorporated with either the Android default keyboard ...

How to Register and Activate SBI Internet Banking Online

Internet Banking is the most trusted and efficient way of making transactions, bill payments, view accounts, view statements, deposits and many more facilities that can be accessed from any corner of the world for free. To avail these facilities in SBI (or) any  State Bank Groups new customer's will be given the PPK kit along with the passbook at the time of creating accounts in the bank itself if the internet banking facility request was mentioned in the Account opening form, but for existing customer's they have to register separately to get access to the internet banking either by visiting a branch or without visiting a branch. Also Read:   10 safety tips for secure banking online - That You Must Know If the main motive of internet banking is to ease transactions and payments for clients in the leisure, without visiting a bank home branch in person, then why not to make the registration and activation process of internet banking also in the leisure from their ...