+ Reply to Thread
Results 1 to 8 of 8

Thread: Index/match

  1. #1
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    59

    Index/match

    Hi,

    Need help with the attached sheet, can anyone give an INDEX and MATCH function to get the results in sheet 2 from the data in sheet 1. Please help.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    MS Excel 2010
    Posts
    2,247

    Re: Need help with index match

    Try this array formula (i.e. commit with Ctrl-Shift-Enter)

    =INDEX(Sheet1!$E$3:$J$13,MATCH(1,(Sheet1!$C$3:$C$13=C$3)*(Sheet1!$B$3:$B$13=$B4),0),MATCH($B$3,Sheet 1!$E$2:$Z$2,0))

  3. #3
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Need help with index match

    Hi

    In Sheet2!C4, try this formula. Copy down and down.

    =INDEX(Sheet1!$E$3:$J$13;MATCH(Sheet2!$C$3;Sheet1!$C$3:$C$13;0);MATCH(Sheet2!$B$3;Sheet1!$E$2:$J$2;0))
    Hope to helps you.
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    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.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  4. #4
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Need help with index match

    i tried using it, but its giving me a NA error.. is there anything that i am doing wrong, i did commit with Ctrl+Shft+Entr

  5. #5
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Need help with index match

    there are two criterias that need to be matched in row function of the Index Function , but i guess your formula is looking up just one

  6. #6
    Valued Forum Contributor Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens Greece
    MS-Off Ver
    Excel 2003
    Posts
    2,297

    Re: Need help with index match

    Pls take a look to the attachement..
    Attached Files Attached Files
    Regards

    Fotis.

    I am proud that i am Greek.

    Just to know every one.We Greeks, we are nοt proud of our politicians. Υou?

    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.

    Please,mark your thread [SOLVED] if you received your answer.


    My Avadar picture, is from Athens Acropolis.
    http://www.theacropolismuseum.gr

    http://www.visitgreece.gr/

  7. #7
    Registered User
    Join Date
    09-26-2010
    Location
    A, A
    MS-Off Ver
    Excel 2003
    Posts
    59

    Re: Need help with index match

    The values in sheet 2 B4:B6 is not being looked up any where in the formula

  8. #8
    Valued Forum Contributor Haseeb A's Avatar
    Join Date
    05-24-2011
    Location
    India | Kwt
    MS-Off Ver
    2007
    Posts
    1,453

    Re: Need help with index match

    Looks like you are on XL2007 or later. If so try SUMIFS,

    Sheet2!C4, copy down & across.

    =SUMIFS(INDEX(Sheet1!$E:$J,0,MATCH($B$3,Sheet1!$E$2:$J$2,0)),Sheet1!$B:$B,$B4,Sheet1!$C:$C,C$3)
    HTH; Haseeb

    If your problem is solved, please say so clearly, and mark your thread as Solved:
    Forum Rules & How to Mark a thread as SOLVED

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0