+ Reply to Thread
Results 1 to 3 of 3

Number greater than and string of values

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2015
    Location
    Quebec
    MS-Off Ver
    2013
    Posts
    2

    Number greater than and string of values

    Hello i search a way to find the number of value greater that a variable (ex : 3.5) on a string of number. So i can't organize the value

    To better understand : Example : I want to find the value greater than 3.5 on a string. So when the number drop below 3.5, the string close.

    I should be getting (if i put Max at the beggining of the function) i should be getting 3 (and not 5).
    and if i put minimum, i should get 2.
    2 2 4 5 4 3 4 4 3
    Last edited by 6StringJazzer; 05-29-2015 at 08:23 AM. Reason: fixed table coding --6JS

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Number greater than and string of values

    You want the highest value that is no greater than 3.5. That's it?
    The string is made up of integer numbers?
    If so, the array formula is
    Formula: copy to clipboard
    =MAX(IF(MID(H3,ROW(INDIRECT("A1:A"&LEN(H3))),1)+0>3.5,0,MID(H3,ROW(INDIRECT("A1:A"&LEN(H3))),1)+0))

    where H3 is the string. Ex:H3="224543443" --> 3

  3. #3
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: Number greater than and string of values

    Please explain
    Your string is in one cell
    It is numeric or entered as text
    Its length is fixed or can vary
    You want number greater than a given number, first or all the numbers

    2 2 4 5 4 3 4 4 3

    if value is 3.5, answer is 3
    if value is 2, what should be the answer

    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

+ 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. Delete Row Unless String Contains Number Greater Than...
    By daedelous00 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2013, 12:31 PM
  2. Extract number from alphanumeric string that is greater than 10
    By chrisbac1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-30-2012, 09:58 AM
  3. Replies: 3
    Last Post: 05-19-2010, 04:09 PM
  4. Replies: 2
    Last Post: 06-23-2009, 05:38 PM
  5. Replies: 0
    Last Post: 08-28-2005, 11:30 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