+ Reply to Thread
Results 1 to 5 of 5

INDEX + MATCH: Please help!!

  1. #1
    Registered User
    Join Date
    08-28-2017
    Location
    Oregon, USA
    MS-Off Ver
    Office 2016
    Posts
    2

    Exclamation INDEX + MATCH: Please help!!

    I am trying to create a form that will calculate the price of travel based on the resort and travel dates, in reference to the price list for several resorts broken down by travel dates for price.

    I believe I have the correct formula but it keeps coming back as "N/A"

    In the travel dates the date in the header is the last date of travel for the corresponding price below. What am I doing wrong?

    =INDEX(G3:J10,MATCH(B2,F3:F10,0),MATCH(B3,G2:J2,1))
    Attached Images Attached Images
    Last edited by sabmitchell; 08-29-2017 at 09:52 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: INDEX + MATCH: Please help!!

    Are you sure the data in G2:J2 are real dates? test with =isnumber(G2) etc..FALSE intcates text and we will need to conver them.

    If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: INDEX + MATCH: Please help!!

    the check in date is smaller (before) than the list of dates shown
    so it doesnt know what to do do with the match

    put 0 (or lowest date you can possibly enter) into F2 and change the formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    now you will have an issue if you put a date for checking which is larger than the last date you have in your table so have a think on what you want to do when that happens
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    08-28-2017
    Location
    Oregon, USA
    MS-Off Ver
    Office 2016
    Posts
    2
    This worked!!! Thank you so much!!

    Quote Originally Posted by humdingaling View Post
    the check in date is smaller (before) than the list of dates shown
    so it doesnt know what to do do with the match



    put 0 (or lowest date you can possibly enter) into F2 and change the formula to
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    now you will have an issue if you put a date for checking which is larger than the last date you have in your table so have a think on what you want to do when that happens

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,973

    Re: INDEX + MATCH: Please help!!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  2. [SOLVED] Index / Match - match 3 input values and return the results from the index
    By t83357 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:34 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 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