Excel 2010 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | week no | days | week no | days | week no | days | week no | days | week no | days | |||
2 | 0 | ||||||||||||
Sheet1 |
In the simplified table above I am looking to sum all the values in the blue cells(every other column) and show the resulting value in the red cell.
It would seem as simple as =sum(C2+E2+G2+I2+K2)
However the problem I have is that each week I insert a new pair of columns after column A. This means that the formula above allows for the column insertion and changes to =SUM(E2+G2+I2+K2+M2).
I have tried using absolute column references =sum($C2+$E2+$G2+$I2+$K2) but this has no effect.
I have looked at the offset function which seems at least to address the issue of the formula changing as columns are inserted but I cannot understand how to make this work for my particular example.
Any help gratefully received.