+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting, Cells Similar Names

Hybrid View

  1. #1
    Registered User
    Join Date
    01-17-2016
    Location
    Cal, USA
    MS-Off Ver
    2013
    Posts
    20

    Conditional Formatting, Cells Similar Names

    Hello All.

    Can you please advise how to apply a conditional formatting to highlight the items in Sheet1 that match or are similar to Sheet2. thank you in advance for your support. I am having issues attaching an excel workbook and just added the data in sheet1 and sheet2 below.

    Sheet1
    BURT, JAMES (28)
    MYERS, RICK (01)
    EBERHARD, TIM (90)
    MEADOWS, BEN (38)
    MORG, DAN (55)
    RIVERA, JOE (73)
    DEHA, JOSH (11)
    BURT, JAMES (18)
    MYERS, DERICK (01)
    EBERHARD, RON (30)
    MEADOWS, BEN (38)
    DEHA, JOSH
    EBERHARD, TIM

    Sheet2
    BURT, JAMES
    MYERS RICK
    EBERHARD, TIM
    MEADOWS, BEN
    MORG, DAN
    RIVERA, JOE
    DEHA, JOSH

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,716

    Re: Conditional Formatting, Cells Similar Names

    Does 'similar', in your case, simlpy mean the same without the number in parenthesis at the end? Or something different?

    In sheet 2, the second name does not have a comma - is this a mistake or deliberate?
    Last edited by AliGW; 01-21-2022 at 06:46 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,716

    Re: Conditional Formatting, Cells Similar Names

    CF rule for cell A1:

    =NOT(ISNA(VLOOKUP(IFERROR(LEFT(A1,FIND("(",A1)-2),A1),Sheet2!$A$1:$A$7,1,0)))

    Applies to:

    =$A$1:$A$13

    AliGW on MS365 Insider (Windows) 64 bit

    A
    1
    BURT, JAMES (28)
    2
    MYERS, RICK (01)
    3
    EBERHARD, TIM (90)
    4
    MEADOWS, BEN (38)
    5
    MORG, DAN (55)
    6
    RIVERA, JOE (73)
    7
    DEHA, JOSH (11)
    8
    BURT, JAMES (18)
    9
    MYERS, DERICK (01)
    10
    EBERHARD, RON (30)
    11
    MEADOWS, BEN (38)
    12
    DEHA, JOSH
    13
    EBERHARD, TIM
    Sheet: Sheet1
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,716

    Re: Conditional Formatting, Cells Similar Names

    Or maybe this (if the comma issue is deliberate):

    =NOT(ISNA(IFNA(VLOOKUP(IFERROR(LEFT(A1,FIND("(",A1)-2),A1),Sheet2!$A$1:$A$7,1,0),VLOOKUP(SUBSTITUTE(LEFT(A1,FIND("(",A1)-2),",",""),Sheet2!$A$1:$A$7,1,0))))
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-17-2016
    Location
    Cal, USA
    MS-Off Ver
    2013
    Posts
    20

    Re: Conditional Formatting, Cells Similar Names

    Thank you for your help.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,716

    Re: Conditional Formatting, Cells Similar Names

    Pleasure!

+ 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. Conditional Formatting based on similar rows
    By brent_mb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-24-2019, 11:46 PM
  2. [SOLVED] Using Conditional Formating to Highlight Similar Names in 2 Different Columns
    By Steckles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2019, 02:37 PM
  3. conditional formatting for quite similar entries
    By andyzz in forum Excel General
    Replies: 4
    Last Post: 09-14-2016, 07:09 AM
  4. [SOLVED] vlookup, match or if in conditional formatting or similar
    By LinaVa in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-08-2014, 10:07 AM
  5. Conditional formatting or something similar
    By CTGCWIQC in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-06-2014, 06:22 PM
  6. Replies: 6
    Last Post: 08-17-2012, 04:56 AM
  7. Returning values with something similar to conditional formatting
    By bluestraveller in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-04-2011, 04:56 PM

Tags for this Thread

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