+ Reply to Thread
Results 1 to 3 of 3

comparing 2 columns and highlighting text data

  1. #1
    Registered User
    Join Date
    08-24-2005
    Location
    Ireland
    MS-Off Ver
    O365
    Posts
    75

    comparing 2 columns and highlighting text data

    hey folks,

    i have 2 columns of data. column A has surnames and column B has first and second names. i need to be able to highlight the names in column B that have surnames in column A. any ideas?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Select range of names in column B.

    Go to Format|Conditional Formatting and select Formula Is from 1st drop down...

    enter formula: =OR(ISNUMBER(SEARCH($A$1:$A$4,$B1)))

    where A1:A4 is list of surnames in column A, and B1 is top-most cell in your selected range.

    adjust to suit.

    Click format and choose your colour from pattern tab.

    Click Ok. Click Ok again to finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    08-24-2005
    Location
    Ireland
    MS-Off Ver
    O365
    Posts
    75
    great. thanks for that

+ 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