PC Review


Reply
Thread Tools Rate Thread

?-Change data series range as data is entered?

 
 
isofuncurves
Guest
Posts: n/a
 
      23rd Jan 2006

I have a chart which shows a prediction curve and an actual curve. The
prediction curve runs out until the end of a project. The actual curve
is populated as data is entered. I will be generating a number of these
charts from a datatable. I would like to plot the prediction curve for
the duration of the project (easy). I would then like to plot the
actual curve with only the existing data and not have the line drop to
the x-axis at the end. Can I put a formula in the data series "x
values" field?

I hope that my description makes sense.....

Thanks,
Carl


--
isofuncurves
------------------------------------------------------------------------
isofuncurves's Profile: http://www.excelforum.com/member.php...o&userid=30749
View this thread: http://www.excelforum.com/showthread...hreadid=504189

 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      24th Jan 2006
Hi,

Sounds like you need to use a dynamic named range for the chart data
source. Here are a collection of webpages on the subject.

http://peltiertech.com/Excel/Charts/Dynamics.html
http://www.tushar-mehta.com/excel/ne...rts/index.html
http://www.stfx.ca/people/bliengme/E...ps/Dynamic.htm

Cheers
Andy

isofuncurves wrote:
> I have a chart which shows a prediction curve and an actual curve. The
> prediction curve runs out until the end of a project. The actual curve
> is populated as data is entered. I will be generating a number of these
> charts from a datatable. I would like to plot the prediction curve for
> the duration of the project (easy). I would then like to plot the
> actual curve with only the existing data and not have the line drop to
> the x-axis at the end. Can I put a formula in the data series "x
> values" field?
>
> I hope that my description makes sense.....
>
> Thanks,
> Carl
>
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
isofuncurves
Guest
Posts: n/a
 
      24th Jan 2006

Andy,

Thank you. That is exactly what I was looking for. I do have one
ploblem with the solution though. My data table contains formulas to
generate the chart data. So CounA() is not working for me. Each cell,
inclulding the "empty ones" contains a formula:

I am defining my series by:
> =OFFSET('CIP CMG'!$G$3,0,0,COUNTA('CIP CMG'!$G:$G)-1)
> =OFFSET('CIP CMG'!$I$3,0,0,COUNTA('CIP CMG'!$I:$I))
> =SERIES('CIP
> CMG'!$H$3,Metrics.xls'!CIP_Date,Metrics.xls'!Sum_Target_Start,2)


The data for the named ranges is not entered manually. It is generated
by a formula.
> =IF(G21<=TODAY(),COUNTIF(C$2:C$91,"<"&$G21),"")


I assume COUNTA does not work because the cells are non-empty. Any
ideas how to make this work with formulas in the cells?

thanks,
Carl.


--
isofuncurves
------------------------------------------------------------------------
isofuncurves's Profile: http://www.excelforum.com/member.php...o&userid=30749
View this thread: http://www.excelforum.com/showthread...hreadid=504189

 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      24th Jan 2006
Have you tried COUNT() instead of COUNTA()?



isofuncurves wrote:
> Andy,
>
> Thank you. That is exactly what I was looking for. I do have one
> ploblem with the solution though. My data table contains formulas to
> generate the chart data. So CounA() is not working for me. Each cell,
> inclulding the "empty ones" contains a formula:
>
> I am defining my series by:
>
>>=OFFSET('CIP CMG'!$G$3,0,0,COUNTA('CIP CMG'!$G:$G)-1)
>>=OFFSET('CIP CMG'!$I$3,0,0,COUNTA('CIP CMG'!$I:$I))
>>=SERIES('CIP
>>CMG'!$H$3,Metrics.xls'!CIP_Date,Metrics.xls'!Sum_Target_Start,2)

>
>
> The data for the named ranges is not entered manually. It is generated
> by a formula.
>
>>=IF(G21<=TODAY(),COUNTIF(C$2:C$91,"<"&$G21),"")

>
>
> I assume COUNTA does not work because the cells are non-empty. Any
> ideas how to make this work with formulas in the cells?
>
> thanks,
> Carl.
>
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
isofuncurves
Guest
Posts: n/a
 
      24th Jan 2006

I thought of using countif() since all will be numeric integers >0.
haven't tried it yet as I'm scrambling to put together
presentation... Thanks!

Car

--
isofuncurve
-----------------------------------------------------------------------
isofuncurves's Profile: http://www.excelforum.com/member.php...fo&userid=3074
View this thread: http://www.excelforum.com/showthread.php?threadid=50418

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Range updating automatically as new data is entered mgnrke28 Microsoft Excel Charting 1 10th Jul 2008 02:02 PM
Using a Macro in Excel 2004 to move entered data from one sheet toanother and space between rows when next data is entered? bella.sandi@gmail.com Microsoft Excel Programming 1 4th Jun 2008 05:08 PM
Running a macro if any data is entered in a range of cells =?Utf-8?B?Sm9uYXRoYW4=?= Microsoft Excel Worksheet Functions 3 16th Nov 2005 08:38 PM
Formula Changes when data entered in referenced range =?Utf-8?B?bWFjODQ5?= Microsoft Excel Misc 5 21st Mar 2005 01:57 AM
Expanding A Range As data Is Entered W. D. Allen Sr. Microsoft Excel Discussion 2 14th Jan 2005 08:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:48 PM.