I am having problems using match and index with INDIRECT and I cant see why.
Cell G1 is populated in VBA when the new weeks sheet is created.
The reason for not using a direct link to the cells on the previous week is on any week rows are allowed to be inserted. - I started on this foot.
Below shows H8 which does not work and cells G8 & I8 which do but point to the wrong worksheet when the sheet is copied week by week...
Martin
Cell G1 is populated in VBA when the new weeks sheet is created.
Code:
'retain previous worksheet name for Saturday calcs
Range("G1") = "''" + WS.Name + "'!"
The reason for not using a direct link to the cells on the previous week is on any week rows are allowed to be inserted. - I started on this foot.
Below shows H8 which does not work and cells G8 & I8 which do but point to the wrong worksheet when the sheet is copied week by week...
Excel Workbook | |||||
---|---|---|---|---|---|
G | H | I | |||
1 | JS PREP WK (44)'! | ||||
2 | |||||
3 | |||||
4 | SATURDAY | ||||
5 | Pack Plan | Arrivals | SG1 | ||
6 | 17-Oct | ||||
7 | |||||
8 | 1 | #REF! | 3 | ||
9 | |||||
10 | |||||
11 | |||||
12 | |||||
13 | |||||
JS PREP WK (45) |
Martin