+ Reply to Thread
Results 1 to 3 of 3

Find Largest Number In String

  1. #1
    Registered User
    Join Date
    11-28-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    8

    Find Largest Number In String

    I am trying to create a macro that will determine if a number in each cell in a range is greater than 25. However some of the data I am working with has a "-" in the cell to separate multiple numbers so I would need the macro to take the largest number from within the cell to determine if it is greater than 25. Essentially the cells in the range would look like:

    12
    28
    0
    1-24
    4
    6-33

    This is the module that I was using for a similar task, but is no longer accurate. I appreciate any help.

    Please Login or Register  to view this content.

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

    Re: Find Largest Number In String

    Do you mean like this?
    Otherwise need to see your data and the result that you want
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    11-28-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Find Largest Number In String

    Worked perfectly 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