+ Reply to Thread
Results 1 to 4 of 4

Look at Range of numbers and return the next number higher than x

  1. #1
    Registered User
    Join Date
    12-07-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Thumbs up Look at Range of numbers and return the next number higher than x

    Hi! I'm sure this is an easy one but still not something I've done before so I'd appreciate any assistance.
    To keep is simple. in a1:a5 are values 5,10,15,20,25. In c1 value is 13. Need a formula to look at range a1:a5
    and return only the next number higher than 13. Of course it's a3 or 15. Thanks again!!!! I'll try to have a more
    taxing question in future postings.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Look at Range of numbers and return the next number higher than x

    hi gonhikin, welcome to the forum. try:
    =INDEX(A1:A5,MATCH(C1,A1:A5,1)+1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Look at Range of numbers and return the next number higher than x

    If C1 is 15 I assume the formula should return 15? If so try an "array formula" like

    =MIN(IF(A1:A5>=C1,A1:A5))

    confirmed with CTRL+SHIFT+ENTER
    Audere est facere

  4. #4
    Registered User
    Join Date
    12-07-2012
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Look at Range of numbers and return the next number higher than x

    Thanks much benishiryo! I shoulda been able to do that one myself but I know help was right here!! THANKS!

+ 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