+ Reply to Thread
Results 1 to 5 of 5

Match identical certain digits in 1 column with another column and higlight match

  1. #1
    Forum Contributor
    Join Date
    07-01-2012
    Location
    ZA
    MS-Off Ver
    Excel 2013
    Posts
    300

    Match identical certain digits in 1 column with another column and higlight match

    Goodday

    Try to apply below on my sheet attached

    Just want to find out which is the best a macro or a formulae to match the matches in 1 column with another column but here is the tricky part the one colum have 10 digits and i only want to match the last 5 with the other column.If a match occur then all that must be done Column G Values must be highlighted red. Is there a way to achieve this ?. Thanks for any help

    Column G
    Column H
    19765 >> 1, 17, 5, 40, 12
    1,0,25,9,40
    37482>> 1, 17, 3, 14, 40
    1,17,40,9,8
    78657 >> 1, 17, 0, 40, 17
    64591 >> 1, 17, 8, 9, 40
    44587 >> 1, 17, 14, 3, 40
    55662 >> 1, 17, 17, 0, 40
    22113 >> 1, 17, 17, 40, 0
    22334 >> 1, 17, 17, 40, 0
    88775 >> 1, 17, 40, 9, 8
    51555 >> 1, 17, 40, 5, 12
    10012 >> 1, 17, 40, 1, 16
    18860 >> 1, 0, 25, 9, 40
    11445 >> 1, 25, 3, 40, 6
    22335 >> 1, 25, 5, 40, 4



    Got this solution but my spacing somewhere is wrong
    In F column, you can enter an array formula to find, which are the rows match your criteria
    Formula: [Select Code] copy to clipboard

    Please Login or Register  to view this content.
    This will work only if the text in H column exactly matches with the numers after >> in g column.

    Then to format the cells, use conditional formatting, =F1>0
    Attached Files Attached Files
    Last edited by ricklou; 10-07-2012 at 06:25 AM.

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Match identical certain digits in 1 column with another column and higlight match

    Use this in conditional formatting

    =ISNUMBER(MATCH(TRIM(RIGHT(G1,LEN(G1)-FIND(">> ",G1)-1)),$H$1:$H$461,0))

    format --colour
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Contributor
    Join Date
    07-01-2012
    Location
    ZA
    MS-Off Ver
    Excel 2013
    Posts
    300

    Re: Match identical certain digits in 1 column with another column and higlight match

    Hi Ace

    Thanks very much for your reply, should this be copied to column F and copied down then conditional formatting =F1>0 ?

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Match identical certain digits in 1 column with another column and higlight match

    Nope..not quite

    - Select your data in Column G.
    - Go to conditional formatting
    - Use formuals to determine ...type in above formula in my earlier post
    - format -- colour -- font, fill etc.

    See attached.

  5. #5
    Forum Contributor
    Join Date
    07-01-2012
    Location
    ZA
    MS-Off Ver
    Excel 2013
    Posts
    300

    Re: Match identical certain digits in 1 column with another column and higlight match

    Ace works like a Charm -thank you very much!!!!!!!!!!!!!!!!!!!!!!!!!

+ 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