+ Reply to Thread
Results 1 to 2 of 2

vlookup and going to the next largest value

  1. #1
    Registered User
    Join Date
    09-18-2008
    Location
    Sheffield
    Posts
    1

    vlookup and going to the next largest value

    Hi Nick,

    Back in March 08 you posted a query regarding using vlookup and going to the next largest value (rather than the default nearest lesser value).
    Sweep/Dave replied with an answer for you which appears to have solved your problem.

    Only the link to the solution doesnt seem to work anymore!
    http://www.excelforum.com/showthread.php?t=636366

    Any Chance you can remember this solution and forward it to me please?!

    Many Thanks in Advance
    Rich

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    If your range of numbers is in A1:A10 and the lookup value is in C3 this formula will give you the smallest value in A1:A10 that is greater than or equal to C3

    =MIN(IF(A1:A10>=C3,A1:A10))

    confirmed with CTRL+SHIFT+ENTER so that curly braces like { and } appear around the formula in the formula bar

    If C3 is greater than all values in A1:A10 then the formula returns 0

+ 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