I need to create a crosstab which is organised into Weeks (1-52). Needless to say that is a lot of formulas for a manual crosstab and I wonder if there isn't a smarter way. The reason for not using a standard crosstab is that there may not be data for every week, but each week needs a column. So the report would look something like this
Shop1 Wk1 Wk2 Wk3 Wk4 .... Wk52
Group 1 3 5 2 3
Group 2 4 2 3 5
Group 2 3 3 2 3
Total 10 10 7 11
Shop2 Wk1 Wk2 Wk3 Wk4 .... Wk52
Group 1 6 5 2 3
Group 2 4 3 5
Group 2 3 3 2 3
Total 13 8 7 11
So, for Week 3, there is no data available - but I still need to display the week 3 column. I will not know in advance the week that may have no data.
Shop1 Wk1 Wk2 Wk3 Wk4 .... Wk52
Group 1 3 5 2 3
Group 2 4 2 3 5
Group 2 3 3 2 3
Total 10 10 7 11
Shop2 Wk1 Wk2 Wk3 Wk4 .... Wk52
Group 1 6 5 2 3
Group 2 4 3 5
Group 2 3 3 2 3
Total 13 8 7 11
So, for Week 3, there is no data available - but I still need to display the week 3 column. I will not know in advance the week that may have no data.