Hello, first time user here! I am trying to calculate total sales for each line item in Sheet 2 from the information given in Sheet 1. For example, Line 1 (Car WK1), should have total sales of 35. I'm having trouble figuring out how to sum multiple columns with the same header by using sumifs and index/match for the item name and week given in Sheet 2. The formula needs to be able to be copied down in Sheet 2.
Sheet 1:
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>
Sheet 2:
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>
Sheet 1:
Sales | ||||
Item | WK1 | WK1 | WK2 | WK2 |
Car | 20 | 15 | 10 | 15 |
Boat | 5 | 20 | 5 | 10 |
Plane | 10 | 15 | 15 | 5 |
Train | 15 | 10 | 5 | 20 |
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>
</tbody>
Sheet 2:
Item | Week | Sales |
Car | WK1 | ??? |
Car | WK2 | ??? |
Boat | WK2 | ??? |
Plane | WK2 | ??? |
Plane | WK2 | ??? |
<colgroup><col width="64" span="3" style="width:48pt"> </colgroup><tbody>
</tbody>