Hi. I have a table with various PN's in rows with different groupings (IE Forecast, Sales, Return ) and week numbers in columns on sheet 1. On sheet 2, I want to be able to summarize forecast by summing 3 weeks at a time by group by PN.
Data
<tbody>
</tbody>
Result
<tbody>
</tbody>
I need to do this with a formula other than regular formula because PN's are added/subtracted all the time so the order of the PN's changes.
Hopefully that makes sense. I think it is a form of sum with match but struggling to get it to work.
Thanks!
Data
PN | Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
123 | Forecast | 3 | 6 | 6 | 2 | 3 | 7 | 10 | 2 | 2 |
123 | Sales | 5 | 6 | 8 | 3 | 1 | 2 | 10 | 6 | 6 |
123 | Returns | 6 | 4 | 8 | 10 | 2 | 2 | 7 | 4 | 4 |
456 | Forecast | 8 | 6 | 8 | 9 | 3 | 4 | 7 | 9 | 9 |
456 | Sales | 3 | 9 | 3 | 10 | 4 | 8 | 10 | 4 | 4 |
456 | Returns | 1 | 1 | 2 | 1 | 6 | 10 | 1 | 2 | 2 |
789 | Forecast | 7 | 2 | 1 | 1 | 10 | 6 | 2 | 5 | 5 |
789 | Sales | 2 | 8 | 1 | 6 | 2 | 1 | 10 | 10 | 10 |
789 | Returns | 4 | 10 | 7 | 5 | 2 | 4 | 9 | 7 | 7 |
<tbody>
</tbody>
Result
Forecast | Weeks | ||
PN | 1-3 | 4-6 | 7-9 |
123 | 15 | 12 | 14 |
456 | 22 | 16 | 25 |
789 | 10 | 17 | 12 |
<tbody>
</tbody>
I need to do this with a formula other than regular formula because PN's are added/subtracted all the time so the order of the PN's changes.
Hopefully that makes sense. I think it is a form of sum with match but struggling to get it to work.
Thanks!
Last edited: