+ Reply to Thread
Results 1 to 3 of 3

Lookup closest amount

  1. #1
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Lookup closest amount

    I want to lookup the closest amount (+ or -) in column A based on the numbers in column B. See example below. Any suggestions?

    Please Login or Register  to view this content.
    Last edited by mkvassh; 07-06-2010 at 07:03 AM.

  2. #2
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Re: Lookup closest amount

    I found an answer on my own. See below.

    =INDEX($B$2:$B$26;MATCH(MIN(ABS($B$2:$B$26-D2));ABS($B$2:$B$26-D2);0))

  3. #3
    Forum Contributor
    Join Date
    11-02-2007
    Location
    Bryne, Norway
    MS-Off Ver
    Microsoft Office Excel 2010
    Posts
    230

    Re: Lookup closest amount

    This is an array formula

+ 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