+ Reply to Thread
Results 1 to 16 of 16

Find largest number in string containing multiple numbers

Hybrid View

  1. #1
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Find largest number in string containing multiple numbers

    Quote Originally Posted by Snowtoad View Post
    Thanks for the efforts guys, but I just meant nth number chronologically, (not ascending or descending but simply listed from left to right)!
    Cheers
    HAH! That's funny...
    Here you go:
    With
    A1: 35.328, 32.086, 33.326, 34.479, 34.268, 33.953, 32.497, 31.37, 30.963, 29.252, 29.152, 28.655
    B1: the n-th value to find...3

    This regular formula returns that value:
    C1: =IFERROR(--TRIM(MID(SUBSTITUTE(","&$A$1,",",REPT(" ",LEN($A$1))),LEN(A$1)*B1,LEN(A$1))),"n/a")
    In that example, the formula returns: 33.326 (the 3rd value)

    Does that help?
    Last edited by Ron Coderre; 01-18-2012 at 09:49 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  2. #2
    Registered User
    Join Date
    05-25-2010
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Find largest number in string containing multiple numbers

    Yep, that works, thanks so 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