PC Review


Reply
Thread Tools Rate Thread

Create Array for Data Source

 
 
John Michl
Guest
Posts: n/a
 
      17th Mar 2006
I'm trying to create a goal or target line that displays on a line
chart. In the past, I would create an additional row in my spreadsheet
and enter the goal number (say, 80%) in every column. I've noticed in
some chart examples a source data range that looks like {.80,.80,.80}.
It made me wonder if there is a way that I can dynamically create an
array (either in the chart source data or on the spreadsheet in a
single cell) that adjusts in size based on the number of data points in
the other data range.

Any help would be appreciated.

- John

 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      17th Mar 2006
To draw a straight line, you only need two points, right? And if you're
clever, only one. Try the examples here:

http://peltiertech.com/Excel/Charts/AddLine.html

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"John Michl" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> I'm trying to create a goal or target line that displays on a line
> chart. In the past, I would create an additional row in my spreadsheet
> and enter the goal number (say, 80%) in every column. I've noticed in
> some chart examples a source data range that looks like {.80,.80,.80}.
> It made me wonder if there is a way that I can dynamically create an
> array (either in the chart source data or on the spreadsheet in a
> single cell) that adjusts in size based on the number of data points in
> the other data range.
>
> Any help would be appreciated.
>
> - John
>



 
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
can I use an array formula to query a source data table? TAD from DBL Microsoft Excel Programming 1 6th Oct 2008 10:03 PM
how to arrange dimensions of source data array? MCM Microsoft Excel Programming 2 5th Nov 2006 01:21 AM
Filling Source Data Array with Decimal Values John Michl Microsoft Excel Charting 6 22nd Mar 2006 04:17 PM
Array as chart series data source =?Utf-8?B?TWl0Y2g=?= Microsoft Excel Programming 1 19th Apr 2005 10:59 PM
Re: Named array as a data source Jon Peltier Microsoft Excel Charting 0 21st Jul 2004 05:50 PM


Features
 

Advertising
 

Newsgroups
 


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