Hi,
I think quite tricky situation and I may be going about it the wrong way.
I have 3 sheets.
Sheet1 has a value in C3 which is my week number, 34 = Week 34, 35 = Week 35, I manually change this every week.
Sheet2 is my summary page, I need to input my formula in this sheet. In this sheet I have the word "Subtotal" in A3 (This is what I'm going to match.
Sheet3 has my data input.
In sheet 3 what remains constant is row 1 which has my YEARWEEK numbers e.g 201601, 201602.. so I would need a look up to Sheet1 C3 matching to A1:AA1 RIGHT(Cell,2). Also in column A the word "Subtotal" remains constant but the end of the string changes so I would need a LEFT(Cell,8).
The INDEX
So the whole INDEX MATCH MATCH is dynamic that when I change the week number in Sheet1, the value in Sheet2 G3 will update with the Subtotal in Sheet3.
Is this possible?
Small sample data without different worksheets, I can add these in when inputting the formula.
[TABLE="width: 625"]
<colgroup><col><col><col span="3"><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]201633[/TD]
[TD="align: right"]201634[/TD]
[TD="align: right"]201635[/TD]
[/TR]
[TR]
[TD="align: right"]34[/TD]
[TD] [/TD]
[TD]Subtotal[/TD]
[TD="align: right"]207[/TD]
[TD][/TD]
[TD]Brand[/TD]
[TD]Dept[/TD]
[TD]Dept Name[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept1[/TD]
[TD]Name1[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept2[/TD]
[TD]Name2[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]81[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept3[/TD]
[TD]Name3[/TD]
[TD="align: right"]84[/TD]
[TD="align: right"]86[/TD]
[TD="align: right"]67[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept4[/TD]
[TD]Name4[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept5[/TD]
[TD]Name5[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]68[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Subtotal: 0001[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]269[/TD]
[TD="align: right"]207[/TD]
[TD="align: right"]257[/TD]
[/TR]
</tbody>[/TABLE]
So if I was to change the 34 to 35, the subtotal would change to 257.
But also the Depts get bigger each data input.
Thanks,
I think quite tricky situation and I may be going about it the wrong way.
I have 3 sheets.
Sheet1 has a value in C3 which is my week number, 34 = Week 34, 35 = Week 35, I manually change this every week.
Sheet2 is my summary page, I need to input my formula in this sheet. In this sheet I have the word "Subtotal" in A3 (This is what I'm going to match.
Sheet3 has my data input.
In sheet 3 what remains constant is row 1 which has my YEARWEEK numbers e.g 201601, 201602.. so I would need a look up to Sheet1 C3 matching to A1:AA1 RIGHT(Cell,2). Also in column A the word "Subtotal" remains constant but the end of the string changes so I would need a LEFT(Cell,8).
The INDEX
So the whole INDEX MATCH MATCH is dynamic that when I change the week number in Sheet1, the value in Sheet2 G3 will update with the Subtotal in Sheet3.
Is this possible?
Small sample data without different worksheets, I can add these in when inputting the formula.
[TABLE="width: 625"]
<colgroup><col><col><col span="3"><col><col><col><col span="3"></colgroup><tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]201633[/TD]
[TD="align: right"]201634[/TD]
[TD="align: right"]201635[/TD]
[/TR]
[TR]
[TD="align: right"]34[/TD]
[TD] [/TD]
[TD]Subtotal[/TD]
[TD="align: right"]207[/TD]
[TD][/TD]
[TD]Brand[/TD]
[TD]Dept[/TD]
[TD]Dept Name[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept1[/TD]
[TD]Name1[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]26[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept2[/TD]
[TD]Name2[/TD]
[TD="align: right"]83[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]81[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept3[/TD]
[TD]Name3[/TD]
[TD="align: right"]84[/TD]
[TD="align: right"]86[/TD]
[TD="align: right"]67[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept4[/TD]
[TD]Name4[/TD]
[TD="align: right"]81[/TD]
[TD="align: right"]19[/TD]
[TD="align: right"]15[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD] [/TD]
[TD]Dept5[/TD]
[TD]Name5[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]68[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Subtotal: 0001[/TD]
[TD] [/TD]
[TD] [/TD]
[TD="align: right"]269[/TD]
[TD="align: right"]207[/TD]
[TD="align: right"]257[/TD]
[/TR]
</tbody>[/TABLE]
So if I was to change the 34 to 35, the subtotal would change to 257.
But also the Depts get bigger each data input.
Thanks,