Reputation: 491
I have a Google spreadsheet with the following information:
The three cells highlighted with green, A1, A2 and A3 get content from sheets D1, D2 and D3 with =Sheet3!D1 -function. Is it possible to update the content according to the date, so when it's Monday D1, D2 and D3 are shown, but on Tuesday, D4, D5 and D6 are shown?
Upvotes: 0
Views: 64
Reputation: 729
try this in A1, you don't even have to use Column C
in formula
=OFFSET(D1,(WEEKDAY(today(),2)-1)*3,0,3,1)
if you want to use
Column C
then in A1 use
=OFFSET(D1,MATCH(SWITCH(WEEKDAY(today(),2),1,$C$1,2,$C$4,3,$C$7,4,$C$10,5,$C$13,6,$C$16,7,$C$19),C1:C21,false)-1,0,3,1)
Upvotes: 1