ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Automatically shift chart data range (https://www.excelbanter.com/excel-discussion-misc-queries/261692-automatically-shift-chart-data-range.html)

Sean Clayton

Automatically shift chart data range
 
I have a spreadsheet full of charts based on monthly data. The charts
are intended to show a year's worth of information, i.e., April 2009
to March 2010. There are a series of cells in the spreadsheet with the
chart that are autoupdated with new information that the charts are
based on.

Since there are so many of these charts to update each month, I'd like
to know if there is a way to have them automatically shift their date
ranges for each new month. For example, Chart A shows data from April
2009 to March 2010. Now that April is here, the chart needs to be
shifted to show data from May 2009 to April 2010. Is there a way to
accomplish this without having to manually update each chart?

Herbert Seidenberg

Automatically shift chart data range
 
Excel 2007
With PivotCharts linked to PivotTables.
Updates all PTs (and PivotCharts) using a reference PT.
http://c0718892.cdn.cloudfiles.racks.../04_12_10.xlsm

Sean Clayton

Automatically shift chart data range
 
On Apr 16, 12:54*pm, Herbert Seidenberg
wrote:
Excel 2007
With PivotCharts linked to PivotTables.
Updates all PTs (and PivotCharts) using a reference PT.http://c0718892.cdn.cloudfiles.racks.../04_12_10.xlsm


Believe me, I'd love to update all these things to pivot charts
instead of standard charts, but I've got a kind of 'don't mess with
what has worked so far' mentality here to deal with. Also, we're
running Excel 2003, so I don't have 2007 at my disposal.

Hugo Jorgensen[_2_]

Automatically shift chart data range
 
Hi Sean,

There is a way to do it without PivotTables. But in order to help you I need
to know one thing.

With OFFSET function and Name Ranges you can solve it. I can show you but
first you need to tell me about the data range you have today. Do you want
the chart to start from a new column or from a new row each month?

Hugo Jorgensen







"Sean Clayton" wrote:

I have a spreadsheet full of charts based on monthly data. The charts
are intended to show a year's worth of information, i.e., April 2009
to March 2010. There are a series of cells in the spreadsheet with the
chart that are autoupdated with new information that the charts are
based on.

Since there are so many of these charts to update each month, I'd like
to know if there is a way to have them automatically shift their date
ranges for each new month. For example, Chart A shows data from April
2009 to March 2010. Now that April is here, the chart needs to be
shifted to show data from May 2009 to April 2010. Is there a way to
accomplish this without having to manually update each chart?
.


Sean Clayton

Automatically shift chart data range
 
On Apr 19, 9:40*am, Hugo Jorgensen
wrote:
Hi Sean,

There is a way to do it without PivotTables. But in order to help you I need
to know one thing.

With OFFSET function and Name Ranges you can solve it. I can show you but
first you need to tell me about the data range you have today. Do you want
the chart to start from a new column or from a new row each month?

Hugo Jorgensen



"Sean Clayton" wrote:
I have a spreadsheet full of charts based on monthly data. The charts
are intended to show a year's worth of information, i.e., April 2009
to March 2010. There are a series of cells in the spreadsheet with the
chart that are autoupdated with new information that the charts are
based on.


Since there are so many of these charts to update each month, I'd like
to know if there is a way to have them automatically shift their date
ranges for each new month. For example, Chart A shows data from April
2009 to March 2010. Now that April is here, the chart needs to be
shifted to show data from May 2009 to April 2010. Is there a way to
accomplish this without having to manually update each chart?
.- Hide quoted text -


- Show quoted text -


In most cases, it's from a new column with more than one row, but yes,
every chart needs to start with a new column.


All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com