+ Reply to Thread
Results 1 to 7 of 7

Help with INDEX, MATCH from 3 criteria

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Help with INDEX, MATCH from 3 criteria

    Trying to do a football sheet to compair team scoring by quarter. In the attached file I want to return the scores by team, week and quarter from the sample sheet to the results sheet.

    Any help would be appreciated.

    Jim O
    Attached Files Attached Files
    Last edited by JO505; 12-13-2011 at 08:00 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with INDEX, MATCH from 3 criteria

    Try:

    Please Login or Register  to view this content.
    If you remove blank row between team names in column I, then you can easily copy formula down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Help with INDEX, MATCH from 3 criteria

    Try this;

    =VLOOKUP($I6,'Data Sample'!$D:$AB,MATCH($I$4,'Data Sample'!$D$1:$AB$1,0)+COLUMNS($K6:K6)-1,0)

    copy down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help with INDEX, MATCH from 3 criteria

    Definitely a more concise option

  5. #5
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Help with INDEX, MATCH from 3 criteria

    Haseeb,

    I that works nery well but I do have a question. How does the +COLUMNS($K6:K6)-1,0) function?

    Jim O

  6. #6
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Help with INDEX, MATCH from 3 criteria

    COLUMNS($K6:K6). COLUMNS will count how many column between ranges. here is 1, K:K, which is column K. We have stopped starting cell with $ which is $K6. When drag across will give 2,3,4,5,.....

    MATCH($I$4,'Data Sample'!$D$1:$AB$1,0) will give you the position where Week starts. In the same column where Week starts also starts number 1, then next column 2, then 3 etc... So if you use COLUMNS($K6:K6)-1 will give 0 which will minus add to MATCH. When copy across this will add +1 column to MATCH, so VLOOKUP will give the result from columns.

    Hope this helps

  7. #7
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Central Ohio
    MS-Off Ver
    Excel 2000, and 2010
    Posts
    654

    Re: Help with INDEX, MATCH from 3 criteria

    I thank you both for your help and time with this problem. It may take some time to fully understand what is going on with the formula but for now it works.

    Thanks Again!

    Jim O

+ 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.6.0 RC 1