+ Reply to Thread
Results 1 to 9 of 9

Find highest number before numbers start descending

  1. #1
    Registered User
    Join Date
    05-10-2019
    Location
    New Zealand
    MS-Off Ver
    2016
    Posts
    31

    Angry Find highest number before numbers start descending

    Im using windows 10 and excel 2016

    I am trying to come up with a formula that finds the highest ascending number in a sequence, the numbers are across columns

    e.g. 1,2,3,4,5,4,6,7,3 The answer I want is 5

    e.g. 5,4,3,6,7,8,9, The answer I want is 5

    e.g. 1,2,3,4,5 The answer I want is 5

    There are 30 columns in total if that makes a difference

    Thanks!


    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #1 requires good titles. Formula help doesn't tell us about your problem. I have updated it for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 05-10-2019 at 08:04 PM.

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

    Re: Find highest number before numbers start descending

    Hi, welcome to the forum

    Please Login or Register  to view this content.
    why not 9?
    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
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Find highest number before numbers start descending

    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    Please Login or Register  to view this content.
    why not 9?
    Because after 5, the next number goes down.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,901

    Re: Find highest number before numbers start descending

    Like this?

    =IFERROR(INDEX(A1:J1,MATCH(TRUE,INDEX(B1:J1<A1:I1,0),0)),J1)

  5. #5
    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,926

    Re: Find highest number before numbers start descending

    Quote Originally Posted by 6StringJazzer View Post
    Because after 5, the next number goes down.
    But OP asked
    Please Login or Register  to view this content.

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,705

    Re: Find highest number before numbers start descending

    Quote Originally Posted by FDibbins View Post
    But OP asked
    Please Login or Register  to view this content.
    True. I think we have an issue with rigor in the problem statement.

  7. #7
    Registered User
    Join Date
    05-10-2019
    Location
    New Zealand
    MS-Off Ver
    2016
    Posts
    31

    Re: Find highest number before numbers start descending

    Hi Phuocam
    Works a treat, would never have come up with this in a million years
    Thankyou
    regards
    brian

  8. #8
    Registered User
    Join Date
    05-10-2019
    Location
    New Zealand
    MS-Off Ver
    2016
    Posts
    31

    Re: Find highest number before numbers start descending

    Thank you for re-wording my question
    Ill try to do better in the future
    Cheers
    Brian

  9. #9
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Find highest number before numbers start descending

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] Descending ranking of highest values that are not always unique numbers
    By Giake in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2016, 07:13 PM
  2. [SOLVED] Find Match or Next Lowest Number In Descending Column of Numbers
    By skywriter in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-07-2015, 11:24 PM
  3. Replies: 3
    Last Post: 01-23-2012, 11:47 AM
  4. VBA code to find highest and 2nd highest number based in criteria
    By Michael007 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-25-2011, 08:38 AM
  5. Find top 2 lowest numbers and top 2 highest numbers
    By photographex in forum Excel General
    Replies: 7
    Last Post: 02-12-2011, 10:57 PM
  6. Force descending sort to Start with Numbers
    By The Smuffer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2006, 04:24 PM
  7. Replies: 1
    Last Post: 01-09-2006, 09: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