+ Reply to Thread
Results 1 to 4 of 4

Macro to find match and color sequence nr thats found

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

    Macro to find match and color sequence nr thats found

    Looking for a macro to check 100 sequences for an exact

    match....if a exact match is found the corresponding

    rows sequence number must be highlighted...for the

    eaxple I have attached only 10 Sequences. The sequence

    must be checked from right to left for a match -Cells V W X.If a

    match is found the sequence number in column X must be

    highligted. The numbers that must be checked is

    highlighted red.For the attached example 2 and 3 have

    an exact match..... 4 1 and 2 2

    Rep given for someone that can code this in a macro.

    Thank you it will be a time saver of note as I need to

    check it manually...100 sequences. Sample attached
    Attached Files Attached Files

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Macro to find match and color sequence nr thats found

    Hello ricklou,

    I think you missed a match in sequence 5. V = 1 and W = 0 matches with D and E.

    Why is sequence 2 a match when one of the numbers, V ,is also one of the numbers used in matching?
    It seems logical that the matching would start with U.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    07-01-2012
    Location
    ZA
    MS-Off Ver
    Excel 2013
    Posts
    300
    Hi Leith...thanks for your response...quite correct i only used 2 examples...sequence 2 will also be a sequence actually as i only want exact matches
    Quote Originally Posted by Leith Ross View Post
    Hello ricklou,

    I think you missed a match in sequence 5. V = 1 and W = 0 matches with D and E.

    Why is sequence 2 a match when one of the numbers, V ,is also one of the numbers used in matching?
    It seems logical that the matching would start with U.
    Last edited by ricklou; 02-05-2017 at 11:23 PM.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Macro to find match and color sequence nr thats found

    Maybe:

    Please Login or Register  to view this content.

+ 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. [SOLVED] VBA to find match between two sheets and make a tick next to name if found
    By sintek in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-15-2016, 06:48 AM
  2. Find a short-sequence in a longer sequence (Clash Royale Chests Challenge)
    By GeneralDisarray in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2016, 12:20 PM
  3. Find all matches for one cell and when a match found return a ref number VBA
    By ch_abs in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-15-2014, 06:15 AM
  4. Replies: 2
    Last Post: 10-23-2012, 11:09 AM
  5. Replies: 12
    Last Post: 09-18-2012, 03:13 PM
  6. How to find text in cell and change font color if found
    By niraya in forum Excel - New Users/Basics
    Replies: 19
    Last Post: 05-14-2012, 01:23 PM
  7. Replies: 1
    Last Post: 11-10-2005, 09:10 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