Rolling Date Axis Graph from a Complex Data Chart

skinnea

Board Regular
Joined
Mar 15, 2003
Messages
135
Office Version
  1. 365
Platform
  1. Windows
Hi. I have a data chart that shows a number of sets of data, as the small extract below shows;
AS_Revised IBM Weekly Change Stats.xls
BCDEFGHIJKLMNO
1ReportingWeekTotalBAU>6daysnotice<6daysnoticeCancelledRejectedNotUsedFailedOnHoldSuccessfulUnsuccessfulSuccessfulFailed
205/11-11/1133629451012011181112
312/11-18/114403681920401625164
419/11-25/11361028850010316311
526/11-02/1258837215200302528253
603/12-09/12241112128203081383
Example Graphs


I am pulling 5 graphs (100% stacked ones) out of that, showing various comparisons against adjacent colums (hence the duplication at the end...).

I want to be able to have these graphs automatically show just the last X number of weeks each time I open the spreadhseet and enter data against the current week.

As you'll see, the chart above pulls its data from another sheet in the workbook - and to top it off, I want the 5 graphs to be on a different sheet to the chart above.

Does that make sense? I am struggling to understand how I can achieve my desired results, but suspect it has something to do with OFFSET and TODAY forumlas? :confused:

Any help would be much appreciated...
 
Try...

=OFFSET(Sheet1!$B$1,0,MATCH("*",Sheet1!$B$1:$O$1,-1)-1,1,-MIN(NumWeeks,MATCH("*",Sheet1!$B$1:$O$1,-1)-1))

Hope this helps!
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,216,191
Messages
6,129,429
Members
449,509
Latest member
ajbooisen

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