+ Reply to Thread
Results 1 to 5 of 5

Compare a List and Highlight Same Text

  1. #1
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    Compare a List and Highlight Same Text

    Hello,

    Does anyone know how I can compare the text in column B to that in both K and L and highlight the words from column B that also are in columns K and L?

    Thank you,

    Brian

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Compare a List and Highlight Same Text

    Perhaps using a vlookup() in Conditional Formatting?
    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-28-2013
    Location
    Poznań/Poland
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Compare a List and Highlight Same Text

    Hi,

    I mean that text from A must be founded in K and L? If so, then You can use array formula:

    1. you must select range which has as many columns as range from column A
    2. type following formula and accept it by "ctrl +shif + enter"

    =iferror(INDEX($B$1:$B$5;small(if((iserror(match($B$1:$B$5;$K$1:$K$6;0))=false)*(iserror(match($B$1:$B$5;$L$1:$L$6;0))=false);row(indirect("1:"&rows($B$1:$B$5)));"");row(indirect("1:"&rows($B$1:$B$5)))));"")

    regards

  4. #4
    Registered User
    Join Date
    02-24-2014
    Location
    Oradell, NJ
    MS-Off Ver
    Excel 2010
    Posts
    45

    Re: Compare a List and Highlight Same Text

    NJ Schedule 2014.xlsxNJ Schedule 2014.xlsxNJ Schedule 2014.xlsx

    I have the top 50 ranking in Row B and the schedule for this season with the home team being K and the away team being L. I would like to insert a formula that would highlight the top 50 teams in the total schedule for NJ. This way I can find the best matchups.

    Thank you!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: Compare a List and Highlight Same Text

    1. highlight the range you want to apply the conditional formatting to (K3:L1540)
    2. on the home tab, styles, select CF
    3. select new rule, select use formula
    4. enter ==MATCH(K3,$B$2:$B$51,0)............format fill as needed

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compare a List and Highlight Similarities
    By knuckledownlacrosse in forum Excel General
    Replies: 3
    Last Post: 02-25-2014, 09:53 AM
  2. [SOLVED] Compare name list (First name, last name) on two different sheets and highlight
    By badboynads in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-25-2013, 07:37 AM
  3. compare list and highlight
    By Blake 7 in forum Excel General
    Replies: 6
    Last Post: 11-10-2010, 06:44 AM
  4. [SOLVED] How do you compare 2 list of numbers and highlight the difference
    By Jay Jones in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2006, 12:50 PM
  5. RE: How do you compare 2 list of numbers and highlight the difference
    By Tom Ogilvy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2006, 10:55 AM

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