Driving the chart are two dynamic named ranges. The first one ‘DatesbyCountry’ with this formula:
Formula:
=OFFSET(Monthly_spends!$A$1,MATCH(India!$B$7,Monthly_spends!$A$2:$A$25,0)+Monthly_spends!$E$2*3,1,3)
The cell Monthly_spends!$A$1 is offset by the match function finding the match of B7 on the ‘India’ tab plus the Scroll Bar value on ‘Monthly_spends’. The Scroll Bar has a minimum value of 0 and max of 3 and increments by 1. The Offset formula multiplies this by 3 to move to each quarter.
This named range is added to the chart X axis values and the Amounts are derived from another named range ‘CountryAmounts’ which comes from Offsetting the ‘DatesbyCountry’ by 1 column.
Formula:
=OFFSET(DatesbyCountry,0,1)
The Chart Title is directly linked to B7 on the ‘India’ tab. The Quarter’s label in the top left corner of the chart is linked to the ‘Label Link’ on the ‘Monthly-spends’. That in turn is from the Lookup Table indexed from the Scroll Link.
I hope this makes some sense.
DBY
Bookmarks