+ Reply to Thread
Results 1 to 9 of 9

Problems with index and match

  1. #1
    Registered User
    Join Date
    09-30-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    30

    Problems with index and match

    Hi

    I'm having problems getting my index to work..

    So for sample sake I have in my raw data

    A B C D
    1
    2 Rob Dave Phil
    3 01/01/2013 1 2 3
    4 02/01/2013 1 2 3
    5 03/01/2013 1 2 3


    and in my front sheet I want to pull the data when I change the "Rob" by drop down


    Rob

    01/01/2013 Result
    02/01/2013 Result
    03/01/2013 Result

    so if Rob is selected the results should be


    Rob

    01/01/2013 1
    02/01/2013 1
    03/01/2013 1

    but its showing

    Rob

    01/01/2013 1
    02/01/2013 2
    03/01/2013 3

    The formula Im using is E18 is the place the drop down for Rob,Dave and Phil is and D20 is where the dates start

    =INDEX($A$2:$D$5,MATCH($E$18,$A$2:$D$2,0),MATCH($D20,$A$2:$A$5,0))

    thanks

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Problems with index and match

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    09-30-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Problems with index and match

    the table of data looks rubbish the way its come out so I have attached the data
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Problems with index and match

    Just replace the MATCH part of your formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,530

    Re: Problems with index and match

    Try it like this:

    =INDEX($A$2:$D$5,MATCH($D20,$A$2:$A$5,0),MATCH($E$18,$A$2:$D$2,0))

    You have your row and column parameters the wrong way round.

    Hope this helps.

    Pete

  6. #6
    Registered User
    Join Date
    09-30-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Problems with index and match

    as per previous post
    Attached Files Attached Files

  7. #7
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Problems with index and match

    Please see the files

    Azumi
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    09-30-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2007
    Posts
    30

    Re: Problems with index and match

    oohhh yeah!!! so stupid! thanks guys it works perfectly now, maybe I should re-think of a career path away from resource analyst if I can’t tell the difference between row and column! :-)

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Problems with index and match

    You are welcome and thanks for the feed back.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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. problems with index/match
    By FFFran in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-13-2013, 01:29 PM
  2. Problems with INDEX,MATCH
    By j_Southern in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2012, 02:55 PM
  3. Index Match Problems
    By markd87 in forum Excel General
    Replies: 1
    Last Post: 07-22-2011, 11:32 AM
  4. Index Match Problems
    By Zimbo in forum Excel General
    Replies: 3
    Last Post: 03-02-2011, 07:08 AM
  5. INDEX and MATCH problems
    By protocoledu in forum Excel General
    Replies: 2
    Last Post: 05-20-2009, 11:22 AM

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