+ Reply to Thread
Results 1 to 6 of 6

help with match function not working

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    IL, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    help with match function not working

    I'm trying to look up a row number from sheet1 in a formula in sheet2. I used the match formula, but only works with 0 or exact match. If I do -1 or greater than value it returns "#N/A". My lookup value is 4, and the lookup array data greater than 4 is 4.005. If I put 4.005 as a lookup value and 0 as a match i'm fine, but not 4 and -1 (greater than). Any ideas?

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: help with match function not working

    If you want to find the largest value that is equal to or greater than the look up value then sort the list in ascending order and use the "1" match type.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Registered User
    Join Date
    10-24-2012
    Location
    IL, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: help with match function not working

    I figured it out that "1" give s me my result, but in the formula description it says "1" finds the largest value that is less than or equal to lookup value. To me it would return a 3.## value.

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: help with match function not working

    Oops. The old gray ain't what she used to be . . . poor memory.
    I should have said use the -1 match type and sort in descending order.

  5. #5
    Registered User
    Join Date
    10-24-2012
    Location
    IL, USA
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: help with match function not working

    Either way I have the data in ascending order with a "1" and it works. I just think it is backwards from the description and it shouldn't work the way it does.

  6. #6
    Registered User
    Join Date
    10-25-2012
    Location
    paris
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: help with match function not working

    HI,
    I'm facing kind of a similar problem.
    The match formula, using the exact match Type "0", always give me the row right before the one I'm looking for?

    I don't get 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