How do I make a chart automatically update when there is a new month?

hmmmidk220

Board Regular
Joined
Dec 14, 2016
Messages
55
JanFebMarAprMayJunJulAugSepOctNovDec
4%5%4%2%3%4%5%0%0%0%0%0%

<tbody>
</tbody>


Hi!

So I have a line chart linked to the above table. Each cell of data in the table gets it's % from the database each month. When the database is refreshed , the new month populates and the % goes from 0 to whatever it is. Each month the chart data has to be manually adjusted to look at the new month, and can't look at it all of the months because the months' without data yet (0%) will mess up the chart.

So I've seen solutions with dynamic ranges/tables and offset formula, but I'm not sure how to make it work in this case.

Also, since the % could be zero for a month that we have data for, I would at some point use an if statement to make future months (which will say 0% too) say something else such as blank, because otherwise I don't see how the chart could filter those out. Ignore this part if it doesn't make sense. How would I go about making this chart dynamic?

Thanks!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I would extend dec onwards for maybe a year, then set your chart for the full width, then hide the columns you don't want to model and it normally adjusts
 
Upvote 0

Forum statistics

Threads
1,214,632
Messages
6,120,652
Members
448,975
Latest member
sweeberry

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