+ Reply to Thread
Results 1 to 3 of 3

if+small functions question

  1. #1
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    if+small functions question

    Hi all!!

    I have an array of numbers and i need to find the smallest value that is greater than some number on the sheet.
    I'd use index+match with -1 at the end of match but my array isn't arranged by particular order.
    I tried {=if(range>number,small(range,1))} but it gives the smallest value in the range. if+min do the same.

    So i'm puzzled now what's wrong with if+small or what is the other way to do this.

    Any help will be very appreciated. And sorry i cannot upload the file Thanks in advance

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: if+small functions question

    did you try?

    =MIN(IF(range>inputcell,range))

    or

    =SMALL(IF(range>inputcell,range),1)

    confirmed with CTRL+SHIFT+ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    04-24-2012
    Location
    Moscow
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: if+small functions question

    NBVC!! THank you very much. It works as it should. Sitting all day on one file resulting in total IQ disorder. Thank you that you are here when someone like me needs it.

+ 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