titamagochang
New Member
- Joined
- Mar 3, 2016
- Messages
- 5
Hi...
I hope someone could show me the right direction here...
So, here is my table :
A B C D E F G H I J K L M
<tbody>
</tbody>
I'm trying to SUM the rows and store it in the subtotal table below, i put the table in sheet2 :
<tbody>
</tbody>
I tried to use SUMIFS, but my columns is about a hundred & my row is about 2 thousand cells...
I very new in using INDEX & MATCH formulas, so this is my attempts :
=SUM(INDEX(Sheet1!A:M8,MATCH(Sheet2!A2,Sheet1!A:A,MATCH(Sheet2!C1,Sheet1!C1:M1,0)),0))
I still use excel 2010.
Thank you
I hope someone could show me the right direction here...
So, here is my table :
A B C D E F G H I J K L M
ID | STORE | MILK | BREAD | MILK | ORANGE | COFFEE | TEA | BREAD | COFFEE | MILK | BREAD | ORANGE | |
103279 | ABC | 2 | 34 | 23 | 45 | 13 | 15 | 16 | 17 | 18 | 15 | 14 | |
105629 | DEF | 34 | 45 | 24 | 56 | 24 | 13 | 18 | 19 | 22 | 25 | 21 | |
105631 | GHI | 5 | 67 | 23 | 14 | 15 | 16 | 27 | 14 | 17 | 27 | 15 | |
106236 | JKL | 67 | 89 | 23 | 12 | 14 | 16 | 26 | 39 | 23 | 14 | 18 | |
106246 | MNO | 34 | 23 | 13 | 14 | 15 | 16 | 27 | 29 | 32 | 43 | 13 | |
105696 | PQR | 12 | 14 | 23 | 45 | 32 | 12 | 34 | 28 | 12 | 34 | 29 | |
105633 | STU | 18 | 15 | 16 | 13 | 14 | 56 | 23 | 45 | 23 | 12 | 78 | 19 |
<tbody>
</tbody>
I'm trying to SUM the rows and store it in the subtotal table below, i put the table in sheet2 :
ID | STORE | MILK | BREAD | ORANGE | COFFEE | TEA |
103279 | ABC | |||||
105629 | DEF | |||||
105631 | GHI | |||||
106236 | JKL | |||||
106246 | MNO | |||||
105696 | PQR | |||||
105633 | STU |
<tbody>
</tbody>
I tried to use SUMIFS, but my columns is about a hundred & my row is about 2 thousand cells...
I very new in using INDEX & MATCH formulas, so this is my attempts :
=SUM(INDEX(Sheet1!A:M8,MATCH(Sheet2!A2,Sheet1!A:A,MATCH(Sheet2!C1,Sheet1!C1:M1,0)),0))
I still use excel 2010.
Thank you