Dynamic rolling excel charts

irrek100

New Member
Joined
Dec 2, 2015
Messages
4
Can anyone PLEASE HELP ME!
Ive been struggling with this all morning.
I am trying to create a dynamic excel chart that always shows last 12 months. I have watched multiple tutorials, multiple times, it can not get it to work.
If anyone can please tell me where I am gong wrong, I would be extremely grateful.
I wish I could attach the file here, but I cant!
Thank you
 

Attachments

  • Capture.PNG
    Capture.PNG
    25.5 KB · Views: 30

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Not 100% with you, but if you mean automatically adjust your data source for the chart based on the current month
always shows last 12 months
then you can use this (note the unique formula in A14, and the other same formula in A2:A13)
Book1
ABC
1DateCapacityTarget
21/08/20228296
31/09/20228396
41/10/20228596
51/11/20229096
61/12/202210096
71/01/20239596
81/02/20239096
91/03/20238596
101/04/20239596
111/05/202310096
121/06/202310596
131/07/202310596
141/08/202310096
Sheet3
Cell Formulas
RangeFormula
A2:A13A2=EDATE(A3,-1)
A14A14=EOMONTH(TODAY(),-1)+1


Alternatively, if you wanted the latest month with data to be specific (you've used January 2023) then you only need to adjust the formula in A14 as shown here:
Book1
ABC
1DateCapacityTarget
21/01/20228296
31/02/20228396
41/03/20228596
51/04/20229096
61/05/202210096
71/06/20229596
81/07/20229096
91/08/20228596
101/09/20229596
111/10/202210096
121/11/202210596
131/12/202210596
141/01/202310096
Sheet3
Cell Formulas
RangeFormula
A2:A13A2=EDATE(A3,-1)
A14A14=EOMONTH(TODAY(),-8)+1


In both cases, the months will adjust automatically. If you wanted the data to be drawn from another source, then you'll need to provide a lot more information.
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,930
Members
452,367
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top