Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 13
Default Do I really need OFFSET?

I have defined a Dynamic Name as follows:

=OFFSET(Sheet1!$A$4,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1)

The label for the data is in A3, the data starts in A5 and continues
downward. The definition above does start plotting from A5 but adds a blank
cell. There is always one extra empty data point that is plotted. Is there
an easy fix so that the plot starts at A5 and stops at the last data point?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Do I really need OFFSET?

See whether changing -1 to -2 (two places) fixes the range definition. If
so, you have two non-blank cells that you don't want to count instead of
one. One is for a label atop the data in column A, the other would be a cell
above that with other contents.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"bflorox" wrote in message
...
I have defined a Dynamic Name as follows:

=OFFSET(Sheet1!$A$4,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1)

The label for the data is in A3, the data starts in A5 and continues
downward. The definition above does start plotting from A5 but adds a
blank
cell. There is always one extra empty data point that is plotted. Is
there
an easy fix so that the plot starts at A5 and stops at the last data
point?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 13
Default Do I really need OFFSET?

Changing to -2 does eliminate the extra blank data point; although there is
only one, not two, blanks between the label and the data. Could COUNTA have
been used without OFFSET and be told where to start from somehow?

Thanks.

"Jon Peltier" wrote:

See whether changing -1 to -2 (two places) fixes the range definition. If
so, you have two non-blank cells that you don't want to count instead of
one. One is for a label atop the data in column A, the other would be a cell
above that with other contents.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"bflorox" wrote in message
...
I have defined a Dynamic Name as follows:

=OFFSET(Sheet1!$A$4,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1)

The label for the data is in A3, the data starts in A5 and continues
downward. The definition above does start plotting from A5 but adds a
blank
cell. There is always one extra empty data point that is plotted. Is
there
an easy fix so that the plot starts at A5 and stops at the last data
point?

Thanks.




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Do I really need OFFSET?

1. You need either OFFSET or INDEX or something similar.

2. Remove extraneous blank rows and columns within the data set.
there is only one, not two, blanks between the label and the data.



- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"bflorox" wrote in message
...
Changing to -2 does eliminate the extra blank data point; although there
is
only one, not two, blanks between the label and the data. Could COUNTA
have
been used without OFFSET and be told where to start from somehow?

Thanks.

"Jon Peltier" wrote:

See whether changing -1 to -2 (two places) fixes the range definition. If
so, you have two non-blank cells that you don't want to count instead of
one. One is for a label atop the data in column A, the other would be a
cell
above that with other contents.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"bflorox" wrote in message
...
I have defined a Dynamic Name as follows:

=OFFSET(Sheet1!$A$4,COUNTA(Sheet1!$A:$A)-1,0,-MIN(chtLen,COUNTA(Sheet1!$A:$A)-1),1)

The label for the data is in A3, the data starts in A5 and continues
downward. The definition above does start plotting from A5 but adds a
blank
cell. There is always one extra empty data point that is plotted. Is
there
an easy fix so that the plot starts at A5 and stops at the last data
point?

Thanks.






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
Help with Offset kazoo Excel Discussion (Misc queries) 4 August 26th 08 10:24 PM
Compare Cell Values, Offset(-1,0), Offset(-1,-1), and xlFillDefaul RyGuy Excel Worksheet Functions 2 September 28th 07 10:54 PM
OFFSET HELP Scott@CW Excel Worksheet Functions 1 December 21st 06 04:27 AM
Offset. Joe Edwards Excel Worksheet Functions 2 November 2nd 06 06:57 AM
offset Larry Excel Worksheet Functions 4 May 12th 05 04:10 AM


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

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

About Us

"It's about Microsoft Excel"