+ Reply to Thread
Results 1 to 20 of 20

Index and Match issues

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

    Index and Match issues

    Dear all

    I have a query on my formular as attached

    it works for the 1st row only

    When I select the Day Tour, Adult, it prompts "N/A"

    Appreciate your help


    Guests 10 Child
    Unit
    Day Tour Aduit #N/A

    Eric
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Index and Match issues

    You are mentioning Aduit in cell H6 instead of Adult.

    Change the drop down accordingly and formula will work perfectly.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

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

    Re: Index and Match issues

    Ankur

    Thank a lot , possible if you would advise me

    what formular, if i selected the Adult and the Child column will get the data ..

    Thanks
    Attached Files Attached Files

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Index and Match issues

    Sorry I am not getting you??? What do you want please speak clear with expected result.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    Try

    =INDEX($B$2:$E$5,MATCH($G6,$A$2:$A$5,0),MATCH(O$3,$B$1:$E$1,0))

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

    Re: Index and Match issues

    Sorry for my English

    in the attached file,

    Unit Child
    Day Tour Adult 200 xxxx (185 )

    if i select the Ädult in the cell, the Child column can get the figure "185

    Eric

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

    Re: Index and Match issues

    John

    i want the If H6 is Ädult, then J6 will get the figure from D3:D4
    Only of Adult is selected

    Eric

  8. #8
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Index and Match issues

    Perhaps Try

    O6=OFFSET($A$1,MATCH(G6,$A$2:$A$4,0)+1,MATCH(O3,B1:E1,0)-1)

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

    Re: Index and Match issues

    Dear all

    I have apply the Match & index function again. But i think it should not be the case

    Eric

  10. #10
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Index and Match issues

    Hi Eric can you once post spread sheet what is your actual expectation with formula.

    We are unable to understand what you looking for ??

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    This ..

    =IF(H6="Adult",INDEX($B$2:$E$5,MATCH($G6,$A$2:$A$5,0),MATCH(O$3,$B$1:$E$1,0)),0)

    As Ankur has requested please post a file with more comprehensive data and show expected results. You have column headings 10, 15 etc which at the moment mean nothing to us.

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

    Re: Index and Match issues

    See attached
    Attached Files Attached Files

  13. #13
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    See my post #11 re the original file..


    You have changed the data but still refer to H6 in your comment!

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

    Re: Index and Match issues

    John

    I have a new question, please kindly advise what wrong with me formula.
    It does not work

    Eric
    Attached Files Attached Files

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

    Re: Index and Match issues

    John

    When i select the choice, it does not work , and prompt "REF""

    Eric

  16. #16
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    Try

    =INDEX(rate,MATCH($D11,Services,0),MATCH($E11,Items,0))


    You had ROW/COLUMN MATCH wrong way round

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

    Re: Index and Match issues

    John

    I made the changed and it seems works

    Appreciated your comment.. Any where i can improved

    Eric
    Attached Files Attached Files

  18. #18
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    Looks good to me.

    One possible change: make the US$ exchange rate a variable rather than the fixed 7.7 currently.

    If it varies (as I am sure it does) over time, consider a LOOKUP table with two columns: Date Effective and Exchange Rate (in ascending date order).

    For LOOKUP purposes, "Date Effective" could be "date of booking".

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

    Re: Index and Match issues

    Dear John,

    Thanks a lot and i have further amended the formular,

    for the exchange rate, as HKD is pegged with US, so the rate is secured

    the next step would be how to make a "input form"to make user more convenience ...

    You have any comments/advice ?

    Eric

  20. #20
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Index and Match issues

    You could have a VBA "userform" solution or a simple form in Excel using (as you already have) drop-down lists which reduces the likelihood of input error.

    You need to consider what data is on the form and what checking needs to be incorporated.

    The VBA option is the more "sophiscated" but requires more work to develop. If you decide to go down this route it is probably worth putting a thread on the "VBA Macro" forum. However you need to specify very clearly and in detail what is required.

+ 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 and Match issues
    By Wikster7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2016, 04:52 AM
  2. index match issues
    By carrollkm in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-23-2014, 12:56 AM
  3. [SOLVED] Index/Match issues
    By xxQueenxo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2014, 12:56 AM
  4. VLOOKUP / INDEX-MATCH issues
    By randrze2 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2013, 02:01 PM
  5. SUMIF's, INDEX, and MATCH issues?
    By neoncorey in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-14-2013, 02:02 PM
  6. Index - Offset - Match Issues
    By Ray Wright in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2005, 02:05 AM
  7. [SOLVED] Index and Match issues
    By Mo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2005, 04:06 PM

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