+ Reply to Thread
Results 1 to 4 of 4

Search array and highlight array matches

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

    Search array and highlight array matches

    Goodday hope someone can assist this could be possible solved with a formula but also possible with a macro. I am looking to search column G for the combinations after the >> for a different sequences but it must have the same numbers Example below and it must highlight the numbers in red. The data start on G2. Lets say I search for 0,1,2,3,9,10 then below must be listed

    Any help greatly appreciated.

    1, 3, 7, 8, 37, 49 >> 9, 1, 1, 3, 11, 0
    1, 3, 7, 8, 43, 45 >> 9, 1, 1, 3, 1, 10
    1, 3, 8, 11, 13, 33 >> 9, 1, 3, 2, 6, 4
    1, 3, 8, 11, 13, 35 >> 9, 1, 3, 2, 6, 4
    1, 3, 8, 11, 17, 45 >> 9, 1, 2, 3, 0, 10
    1, 3, 8, 11, 19, 31 >> 9, 1, 3, 2, 1, 9
    1, 3, 8, 11, 21, 33 >> 9, 1, 3, 2, 6, 4
    1, 3, 8, 11, 21, 35 >> 9, 1, 3, 2, 6, 4
    1, 3, 8, 11, 31, 43 >> 9, 1, 3, 2, 9, 1
    1, 3, 8, 11, 39, 45 >> 9, 1, 3, 2, 0, 10
    1, 3, 8, 11, 45, 47 >> 9, 1, 3, 2, 10, 0
    1, 3, 8, 11, 45, 49 >> 9, 1, 3, 2, 10, 0
    1, 3, 8, 13, 17, 21 >> 9, 1, 3, 6, 0, 6
    1, 3, 8, 13, 19, 29 >> 9, 1, 3, 6, 1, 5
    1, 3, 8, 13, 21, 39 >> 9, 1, 3, 6, 6, 0
    1, 3, 8, 13, 21, 47 >> 9, 1, 3, 6, 6, 0
    Last edited by ricklou; 12-19-2012 at 12:11 PM.

  2. #2
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Search array and highlight array matches

    is the highlighted numbers all in one cell? in column B, I'm assuming...
    Please click the * icon below if I have helped.

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

    Re: Search array and highlight array matches

    Hi Melvinrobb

    Its in Column G aswell.............It just need to highlight the numbers in column G. Is there an excell formula to do this ?

  4. #4
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Search array and highlight array matches

    Here is my solution. It requires multiple columns though. you then just need to use conditional formatting (if j4=6, highlight b4).
    Hopefully this works for you.
    Attached Files Attached Files

+ 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