+ Reply to Thread
Results 1 to 4 of 4

Index and Match Function

Hybrid View

Eric Tsang Index and Match Function 05-28-2016, 12:18 PM
zbor Re: Index and Match Function 05-28-2016, 12:23 PM
Eric Tsang Re: Index and Match Function 05-28-2016, 12:41 PM
zbor Re: Index and Match Function 05-28-2016, 12:49 PM
  1. #1
    Forum Contributor
    Join Date
    12-06-2015
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    520

    Index and Match Function

    Dear all

    I have problem with the above, it only work for the 1st cell and the rest "N/A"

    See attached

    Appreciate your help

    Eric
    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,053

    Re: Index and Match Function

    You need to lock cell

    Formula: copy to clipboard
    =INDEX(Rates,MATCH(TRIM($C13),hotel,0),MATCH(D12,Stay,1))
    Never use Merged Cells in Excel

  3. #3
    Forum Contributor
    Join Date
    12-06-2015
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    520

    Re: Index and Match Function

    Zbor

    Thanks a lot and i have also locked the D$12.

    I have one more questions on the -1 , 0 and 1

    With the following list, if i want to get the price on 13 Sept, i expect the answer is 10 ..
    Should i use -1 or 1 ?

    Date : 12 Sept 15 Sept
    Price : 10 14

    Thanks

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

    Re: Index and Match Function

    With -1 you'll get #N/A.
    With 0 also if no match.

    1 or omitted
     
    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, for example: ...-2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE.
     
    
    0
     
    MATCH finds the first value that is exactly equal to lookup_value. The values in the lookup_array argument can be in any order.
     
    
    -1
     
    MATCH finds the smallest value that is greater than or equal tolookup_value. The values in the lookup_array argument must be placed in descending order, for example: TRUE, FALSE, Z-A, ...2, 1, 0, -1, -2, ..., and so on.

+ 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. Replies: 1
    Last Post: 06-10-2015, 12:56 PM
  2. Problems applying INDEX-MATCH-MATCH function on other data
    By LennartB in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-13-2015, 05:33 AM
  3. function INDEX MATCH MATCH doesn´t work
    By leonelcd in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-31-2015, 11:36 AM
  4. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  5. Replies: 6
    Last Post: 03-17-2014, 08:10 PM
  6. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  7. Replies: 3
    Last Post: 06-17-2013, 12:37 PM

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