+ Reply to Thread
Results 1 to 6 of 6

vlookup question

Hybrid View

  1. #1
    Registered User
    Join Date
    02-23-2008
    Posts
    3
    thing is, i need to be able to enter different numbers into the predicted meals table and have it adjust the staff table automatically. my problem is that vlookup chooses either an exact or lower value, i need it to choose the next higher so there is enough staff to cover

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544
    Instead of 9001 you can also point to a cell :

    ROUND.UP( B4 / 4500 , 0) * 2
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320
    if you use index/match instead of v look up
    if the data is sorted as descending
    then setting the match type to -1
    will return smallest value that is greater than or equal to match value
    here's how its done
    formula is in b2
    i put the "if " bit in because it will find a match for nothing which is annoying
    see example in g2

    enter number dining in a2
    Attached Files Attached Files
    Last edited by martindwilson; 02-23-2008 at 02:59 PM.

  4. #4
    Registered User
    Join Date
    02-23-2008
    Posts
    3
    you sir, are a legend

+ 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