RE: Dynamic Range Chart ???

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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
>
>
.



Relevant Pages

  • Re: Jon Peltier question: use of MATCH
    ... The window is titled "Microsoft Excel Visual Basic." ... My goal is to write a macro that will make a chart based on the names in the ... You can do this with dynamic ranges. ... Refers To: =MATCH ...
    (microsoft.public.excel.programming)
  • Re: Charting by column name
    ... Assuming your labels are in row 1 ... Refers To: =MATCH ... Now use the chart wizard to create a chart. ... dynamic ranges will find the appropriate data for the chart. ...
    (microsoft.public.excel.programming)
  • Re: Dynamic, multiple XY charts
    ... I wish to plot multiple series on the same XY scatter chart i.e. ... A chart for Tonnes v Energy, Tonnes V Electricity, Tonnes v Steam etc each ... > in the Name box, click in Refers To, and select the range containing all ...
    (microsoft.public.excel.charting)
  • Re: Dynamic, multiple XY charts
    ... Type the name TheYear in the Name box, click in Refers To, and select ... the cell with the target year. ... Select the chart type in step 1. ...
    (microsoft.public.excel.charting)
  • Re: Formula as text in cell
    ... Name> Define> Refers To): ... Simply select the result using a lookup function or CHOOSE. ... I need to press ctrl+alt+F9 every time a change occurs that would affect the outcome of the named formula:(. ... doit = Evaluate ...
    (microsoft.public.excel.worksheet.functions)