+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Compare text from one column to another and highlight differences

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    32

    Compare text from one column to another and highlight differences

    Hello!

    Help please, is there a way to compare data (string and values combined) from column A to column B and show the difference in column C?

    Attached is a sample data for your reference. Thanks much!

    Rianne^^
    Attached Files Attached Files
    Rianne ^^

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2406 Win 11 Home 64 Bit
    Posts
    23,973

    Re: Compare text from one column to another and highlight differences

    The best I can do for you is to tell you if they are the same or different.

    Put this in C3 and copy it down.

    =IF(A3=B3,"Same", "Difference")

    Maybe someone else will have a better solution for you.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    Manila, Philippines
    MS-Off Ver
    Excel 2016
    Posts
    32

    Re: Compare text from one column to another and highlight differences

    Hi Alan,

    Thanks for your advice, appreciate it a lot. However everything in C3 will reflect "Different", thus I have to identify the differences.

  4. #4
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Compare text from one column to another and highlight differences

    Hello Rianne, i found a macro will highlight the "cell" not the words inside the cell, if different from it's counter part..

    Test Data compare string.xlsm

    it could help you identify the cells that are not the same..
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1