+ Reply to Thread
Results 1 to 3 of 3

Very strange issue with MATCH function.

  1. #1
    Registered User
    Join Date
    08-31-2017
    Location
    Malaysia
    MS-Off Ver
    2016
    Posts
    15

    Very strange issue with MATCH function.

    EDIT: I realized my mistake, I didn't specify "Exact match" in the 'MATCH' formula. Problem solved. Original post below.

    Hi.

    I've found something I've never noticed before, which is that the MATCH function can easily be thrown off by the presence of text in certain cells.
    In my example file, attached, you can see this clearly in Example 2 to 4.
    In example 5, I changed the word "List" to "1.List", which seems to work.

    I have many INDEX-MATCH formulas in my own report that are thrown off by the presence of these words (I absolutely need those words) & I have no idea why this error is happening, it makes no sense.

    Does anyone understand the error & know a workaround or is this a bug?

    I've attached my example file & a screenshot as well just in case.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by byteroom; 10-11-2019 at 07:17 AM. Reason: Solution found.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Very strange issue with MATCH function.

    You appear to be looking for an exact match, so should specify that in your formula. You omitted the third argument, so it defaults to:

    MATCH finds the largest value that is less than or equal to lookup_value. The values in the lookup_array argument must be placed in ascending order

    The string "LIST" comes after your other values in a sort order, so your data is not in ascending order.

    This formula explicitly specifies an exact match and does not produce the errors:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Very strange issue with MATCH function.

    I see you updated your post to SOLVED just as I was posting my solution. If you find your own solution, in addition to marking it SOLVED, we ask that you post that solution so when people find this thread in a search they can see the solution.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Strange #REF! issue
    By therufus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-06-2019, 02:11 AM
  2. strange password issue
    By gchollick in forum Excel General
    Replies: 5
    Last Post: 11-27-2017, 05:25 PM
  3. VBA Match Function Syntax Issue
    By ajmplanner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-27-2016, 12:51 PM
  4. [SOLVED] Strange financial issue
    By Seafreight Discounte in forum Excel General
    Replies: 5
    Last Post: 09-17-2015, 02:47 PM
  5. Invalid Index Match function Issue
    By olliek8 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-13-2015, 02:18 AM
  6. Excel 2007 : Strange issue
    By djsouljah in forum Excel General
    Replies: 1
    Last Post: 05-11-2012, 12:53 AM
  7. Strange Calculation issue
    By LACA in forum Excel General
    Replies: 1
    Last Post: 06-18-2006, 04:20 AM

Tags for this Thread

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