Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Yogalete
 
Posts: n/a
Default Dynamic Range Chart ???

Hi,

After looking through the group's archives, I am trying to create a
chart that reflects a "rolling" date range. In this example it is for
91 days (13 weeks).

Here is what I have:
Col A Col b COL C Col D
Date disregard disgegard data to chart


I have hundreds of dates entered and col D's data is derived from a
formula.

Here are my named ranges

"IIIMonth": =OFFSET(Log!$D$2,COUNTA(Log!$D:$D)-91,0,91)
"Date": =OFFSET(Log!$A$2,COUNTA(Log!$A:$A)-91,0,91)

They seem to work, but the chart's data for col D does not match what
is in col d. The dates match, but not the data. For example, the value
in Cell A481 is 4/23/05. That is reflected in the chart. However, the
Data in D481 is 15.07, but the charted value is 11.97.

I am baffled. Hopefully this makes sense. Any help appreciated.

Al in Nebraska

  #2   Report Post  
Andy Pope
 
Posts: n/a
Default

Hi,

It's hard to tell without the data as to why one of your named ranges is
working and the other not.
Instead why not use the one that is working as a references.

"Date": =OFFSET(Log!$A$2,COUNTA(Log!$A:$A)-91,0,91)
"IIIMonth": =OFFSET(Date,0,3)

Cheers
Andy

Yogalete wrote:
Hi,

After looking through the group's archives, I am trying to create a
chart that reflects a "rolling" date range. In this example it is for
91 days (13 weeks).

Here is what I have:
Col A Col b COL C Col D
Date disregard disgegard data to chart


I have hundreds of dates entered and col D's data is derived from a
formula.

Here are my named ranges

"IIIMonth": =OFFSET(Log!$D$2,COUNTA(Log!$D:$D)-91,0,91)
"Date": =OFFSET(Log!$A$2,COUNTA(Log!$A:$A)-91,0,91)

They seem to work, but the chart's data for col D does not match what
is in col d. The dates match, but not the data. For example, the value
in Cell A481 is 4/23/05. That is reflected in the chart. However, the
Data in D481 is 15.07, but the charted value is 11.97.

I am baffled. Hopefully this makes sense. Any help appreciated.

Al in Nebraska


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Yogalete
 
Posts: n/a
Default

Worked! Thanks Andy.

  #4   Report Post  
John Mansfield
 
Posts: n/a
Default

Al,

Try redefining your range names to the following:

The defined name called €śDates€ť refers to the dates in column A. Create a
defined range name called €śDates€ť and set the named formula up like this:

= OFFSET(Log!$A$1,COUNTA(Log!$A:$A)-91,0,91)

The defined name called €śData€ť refers to the readings in column D. Create a
defined range name called €śData€ť and set the named formula up like this:

= OFFSET(Dates,0,3,91)

Note the use of the first defined range name called €śDates€ť in the second
formula. With this setup, your rolling range keys in on the date range
first. Any data that you want to chart is then offset of the date range.
This should insure that your numbers properly sync up with your dates.

----
Regards,
John Mansfield
http://www.pdbook.com


"Yogalete" wrote:

Hi,

After looking through the group's archives, I am trying to create a
chart that reflects a "rolling" date range. In this example it is for
91 days (13 weeks).

Here is what I have:
Col A Col b COL C Col D
Date disregard disgegard data to chart


I have hundreds of dates entered and col D's data is derived from a
formula.

Here are my named ranges

"IIIMonth": =OFFSET(Log!$D$2,COUNTA(Log!$D:$D)-91,0,91)
"Date": =OFFSET(Log!$A$2,COUNTA(Log!$A:$A)-91,0,91)

They seem to work, but the chart's data for col D does not match what
is in col d. The dates match, but not the data. For example, the value
in Cell A481 is 4/23/05. That is reflected in the chart. However, the
Data in D481 is 15.07, but the charted value is 11.97.

I am baffled. Hopefully this makes sense. Any help appreciated.

Al in Nebraska


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Charting data points and show a target range on the same chart. Minireefkeeper Charts and Charting in Excel 6 February 18th 06 06:50 PM
how to change range for dynamic chart in excel 2000 with button? ivan Charts and Charting in Excel 2 April 24th 05 04:10 AM
Dynamic charting problems (events) [email protected] Charts and Charting in Excel 4 January 27th 05 09:32 PM
dynamic range for excel chart bobf Excel Discussion (Misc queries) 1 January 26th 05 11:07 AM
named range refers to: in a chart Spencer Hutton Excel Discussion (Misc queries) 1 December 14th 04 10:15 PM


All times are GMT +1. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"