+ Reply to Thread
Results 1 to 2 of 2

Look up closest match

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    Dallas,TX
    MS-Off Ver
    Excel 2010
    Posts
    21

    Look up closest match

    Hi Guys

    I am looking for a fourmla to return a value in a column next to the closest value.

    I need to find the closest value to the value compared in the range and return the value to the right of it.

    This is my formula to lookup the closet value:

    =INDEX(B5:B9,MATCH(MIN(ABS(B5:B9-B13)),ABS(B5:B9-B13),0))

    The range values go in increments of 2. For example (43%, 45%, 47%, etc.)

    When I enter 44%, i want the 45%. Instead, its showing 43%. So basically, if the input number is at least greater than the midpoint of the two numbers in the range, it will pull up the larger number. I can't figure out how to do that.

    I have included a sample worksheet to show you guys.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Look up closest match

    Then change the gross margin % column to be the actual breakpoints, and use a simple index/match to get the bonus amount.
    Entia non sunt multiplicanda sine necessitate

+ 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