A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to graph adjacent data in column?



 
 
Thread Tools Display Modes
  #1  
Old December 16th, 2003, 08:51 PM
bmacwilliams
external usenet poster
 
Posts: n/a
Default How to graph adjacent data in column?

I have data of variable length (time dependent) that I wish to graph
which comes from some third party software. The data always starts in
the same row and is always in the same column (C29). The problem is
that after the data rows end, there are several blank rows, and then
other data is written below in the same columns of interest. I have
created an Excel template which graphs this data, with fixed ranges of
rows (C29:A55). For shorter data sets however, the extraneous data
becomes included in this range, and this causes all kinds of trouble
with the graph. Is there a way to set the data range so that the last
non-blank cell is determined, something like (C29:End), so that only
the adjacent data is plotted? I know you can do this with keyboard
shortcuts and I know I can make a macro do this, but is there a way to
include this within a data range specified inside a chart?


---
Message posted from http://www.ExcelForum.com/

  #2  
Old December 17th, 2003, 12:39 AM
Debra Dalgleish
external usenet poster
 
Posts: n/a
Default How to graph adjacent data in column?

Jon Peltier has instructions for creating a dynamic chart.

http://www.geocities.com/jonpeltier/...micCharts.html

Substitute the following formula as the definition of myXvalues --

=OFFSET(Sheet1!$C$29,0,0,MATCH(TRUE,INDEX(ISBLANK( Sheet1!$C$29:$C$55),0,1),0)-1,1)

and it should use the cells from C29 to the cell above the first blank
cell in the range, assuming there will be at least one blank cell in the
range.

bmacwilliams wrote:
I have data of variable length (time dependent) that I wish to graph
which comes from some third party software. The data always starts in
the same row and is always in the same column (C29). The problem is
that after the data rows end, there are several blank rows, and then
other data is written below in the same columns of interest. I have
created an Excel template which graphs this data, with fixed ranges of
rows (C29:A55). For shorter data sets however, the extraneous data
becomes included in this range, and this causes all kinds of trouble
with the graph. Is there a way to set the data range so that the last
non-blank cell is determined, something like (C29:End), so that only
the adjacent data is plotted? I know you can do this with keyboard
shortcuts and I know I can make a macro do this, but is there a way to
include this within a data range specified inside a chart?


---
Message posted from http://www.ExcelForum.com/



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:22 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.