+ Reply to Thread
Results 1 to 6 of 6

compare two column & highlight

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post compare two column & highlight

    dear friends i want to compare column "A" & "B".if any values are matched.that both cells should highlight.pls help me.
    Last edited by johncena; 04-21-2010 at 05:48 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: compare two column & highlight

    set a conditional format on columns A and B. Highlight your data, starting in row 1, then use Conditional Formatting - Formula is

    =A1=B1

    No $ signs. Set a format and hit OK.

  3. #3
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: compare two column & highlight

    thanks teylyn it's work,but data should in serial wise.my data not in serial.now what i can do.pls help....
    Last edited by johncena; 04-21-2010 at 04:50 AM.

  4. #4
    Forum Contributor
    Join Date
    09-21-2009
    Location
    Belgium - Mechelen
    MS-Off Ver
    Office 365 - version 2310
    Posts
    278

    Re: compare two column & highlight

    Hi,
    Attache you'll find a wb with 2lists to compare.
    I found some formulas on the net that you find in the workbook.
    I use some conditional format on cells A2:A8 and E2:E7
    Select a cell and see the conditional format used.(menu Format => conditional formatting)

    Columns D and I have a formula :

    Formula is cell A2 : =IF(ISERROR(MATCH(F2;$A$2:$A$8;0));"No";"Yes - found on row (" & MATCH(F2;$A$2:$A$8;0)+1 & ")")

    perhaps this will help.
    Attached Files Attached Files

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: compare two column & highlight

    John, as always: post a data sample and mock up your expected results.

  6. #6
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: compare two column & highlight

    thanks MarMo & teylyn now my problem was solved.thanks a lot again.......

+ 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