+ Reply to Thread
Results 1 to 3 of 3

Match Function

  1. #1
    Registered User
    Join Date
    12-17-2009
    Location
    US
    MS-Off Ver
    Excel 2003
    Posts
    4

    Match Function

    Can someone explain this function to me in lamens terms?

    =MATCH(9.999999E+307,B12:Y12)-1

    =MATCH(9.999999E+307,B18:Y18)-1

    So what is this pulling and how does it change depending on the data?

    Thanks!
    Last edited by shopgirl1977; 12-17-2009 at 10:57 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Match Function

    Generally speaking the formula is designed to locate the last number in the specified range - and once found it subtracts one from the column index...

    Should for ex. the last number in B12:Y12 be located in D12 the MATCH would return 3 (number found in 3rd column) from which 1 would be subtracted resulting in 2

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Match Function

    It looks for the position of the last cell containing a number in those ranges, and then moves up one cell from that....

    the Match() function looks for a position within a specified range and when used without the 0 as last condition, it looks for closest match.... (smallest number less than or equal to search value)..

    9.999999e+307 is the largest number Excel recognizes and so it looks for that number in the range and can't find it, so it returns the position of the last number it finds that is smaller than or equal to 9.999999e+307
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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