Reputation: 39
I am trying to show the value of B4 to D33 and when I drag it down it shows the value of B13 to D34 and so on with the same interval and pattern. I found a help article with the OFFSET function, tried it but it seems to be not working in my case. Any suggestion?
Regards
Upvotes: 1
Views: 663
Reputation: 11988
A tricky one. It looks like you want to get Week1 value from datasets 1, 2 or 3, depending of which row.
References in Excel do not work the way you want. When draging fórmulas they will always increase reference by 1 column or 1 row. So you need to be tricky here.
One approach would be this:
My formula in cell D33 is:
=VLOOKUP($A$30;CHOOSE(MID(A33;5;99);$A$4:$B$8;$A$13:$B$17;$A$22:$B$26);2;FALSE)
Upvotes: 2