+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Having Trouble Using the Index and Match Functions

  1. #1
    Registered User
    Join Date
    03-31-2011
    Location
    Dayton, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Having Trouble Using the Index and Match Functions

    Can anyone explain to me why the formula in J33 is not working? I am trying to find the best time for each runner (I have multiple sheets each built the same as this one) and have the date also displayed with it. Please let me know what you may think would be wrong or if there is a better way to do this.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,058

    Re: Having Trouble Using the Index and Match Functions

    Your MATCH syntax is wrong:

    MATCH(J34;6:6;3:3)

    3:3 is not a valid argument.

    it can be only the number -1, 0, or 1. Match_type specifies how Microsoft Excel matches lookup_value with values in lookup_array.

    If match_type is 1, MATCH finds the largest value that is less than or equal to lookup_value. Lookup_array must be placed in ascending order: ...-2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE.

    If match_type is 0, MATCH finds the first value that is exactly equal to lookup_value. Lookup_array can be in any order.

    If match_type is -1, MATCH finds the smallest value that is greater than or equal to lookup_value. Lookup_array must be placed in descending order: TRUE, FALSE, Z-A, ...2, 1, 0, -1, -2, ..., and so on.

    If match_type is omitted, it is assumed to be 1.
    Remarks

    MATCH returns the position of the matched value within lookup_array, not the value itself. For example, MATCH("b",{"a","b","c"},0) returns 2, the relative position of "b" within the array {"a","b","c"}.
    MATCH does not distinguish between uppercase and lowercase letters when matching text values.
    If MATCH is unsuccessful in finding a match, it returns the #N/A error value.
    If match_type is 0 and lookup_value is text, you can use the wildcard characters, question mark (?) and asterisk (*), in lookup_value. A question mark matches any single character; an asterisk matches any sequence of characters. If you want to find an actual question mark or asterisk, type a tilde (~) before the character.
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    04-01-2011
    Location
    Manila, Philippines
    MS-Off Ver
    2019
    Posts
    53

    Re: Having Trouble Using the Index and Match Functions

    Your match type value is not valid, I suggest you to make it 0:
    See this example:

    This will result in error:
    Please Login or Register  to view this content.



    This should be the correct forumula:
    Please Login or Register  to view this content.


    Sorry zbor, I'm Iate to see your post.
    Last edited by batman07; 04-06-2011 at 02:11 AM.
    Simply hit the star button to say THANK YOU.

  4. #4
    Registered User
    Join Date
    03-31-2011
    Location
    Dayton, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Having Trouble Using the Index and Match Functions

    Thank you both very much! I fixed the problem. The help on these forums is excellent!

+ 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