+ Reply to Thread
Results 1 to 9 of 9

Search Group of Numbers in Cel Rangel and Highligh matched numbers.

  1. #1
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi !!

    Me again.. sorry to bother you Dear Forum members,

    I Know a bit how to do this search on the rudimentary way when each number is in each cell Using a
    very Long =COUNTIF Function and write it in about 525 cell.


    Might it is a New way to do it, so i Need an expertise on this thinghui..
    (i searched for help in older post, but not luck)

    Here the Problem :

    In Cell G4 to G109 have Set of between 0 to 20 Numbers groups

    So

    On Cell G2 I want to enter a group of Numbers to be search in Cell range G4 to G109


    Then Highlight in "Red" The matched Numbers in (G4:G109)


    Help is Appreciated !!!!!


    search-and-Highlight.png


    Thanks !!!


    Best Regards from Miami.

    David

  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,939

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    not every1 can open .png files, myself included. It would be far better if you could upload a sample of your file, showing what you have, and an example of your expected outcome. Thanks
    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
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Try
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr FDibbins,

    Yes, you're Right

    Here is the file Link https://dl.dropbox.com/u/70638562/V1...0%23Dic21.xlsm

    Thank you !


    Best regards

    David

  5. #5
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr Jindon,

    I Copied the code inside VBA.

    1- Alt+F11

    2-.Insert, Module then Paste the Code

    Please Login or Register  to view this content.
    Save and Close the VBA.


    Then in G2 Input 05-10-25 30 36

    Nothing happen


    Think I might miss some step?


    Thanks


    David.

    Moderators note: code tags added for you - this time
    Last edited by FDibbins; 12-22-2012 at 09:13 PM.

  6. #6
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    You must edit your last post and wrap the code with the code tag. It is a MUST rule here.
    i.e
    [code]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/code]

    If the attached is not what you want, you need to post your workbook.
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr Jindon,

    I'm sorry, it was my mistake..

    I post a Link with the excel workbook (using DropBox)


    Best Regards

    David

  8. #8
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    You can't change font color partially when the cell is either Number/result from then formula.

    It needs to be converted to constant string value.

  9. #9
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Mr FDibbings

    Thanks for the Code Tags adding


    Best Regards

    David

  10. #10
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr Jindon,





    I set the Range Cells G4 to G109 with the same color and font (it's partially) and it won't work,

    Just asking :

    On the workbook sample that you've sent, The numbers to be search (that you input it on G2)
    and the Groups to be searched have Space between. (not character)

    In my Workbook it have a Character "-" between each numbers, that matter or is supposed to work either way?



    Thank you sir


    Best Regards

    David

  11. #11
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Sorry, message went twice... deleted
    Last edited by david gonzalez; 12-22-2012 at 09:58 PM.

  12. #12
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    See my previous post. #8

  13. #13
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr Jindon,



    Okaii.. , .... (I need lot of school...Smile )





    Thank you so much.


    Best Regards


    David

  14. #14
    Forum Contributor
    Join Date
    10-21-2012
    Location
    miami, florida usa
    MS-Off Ver
    Excel 2007
    Posts
    260

    Re: Search Group of Numbers in Cel Rangel and Highligh matched numbers.

    Hi Mr Jindon,

    Yes, i'm going to rename the Code, By the Way tha't is the code that you Send me on a workbook named "Sample with Code"
    and the name of the Code was "test", so i renamed..

    Thank you very Much, i think in that point is located the problem..


    Thank you again,


    Best Regards

    David

+ 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