Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Barb Reinhardt
 
Posts: n/a
Default Dynamic Chart Question

I want to define a chart label and I have this:

=OFFSET(CPI_SPI_PITD!$B$33,0,0,1,MIN(CPI_SPI_PITD! CPI_SPI_PITD_chtlen,COUNTA(CPI_SPI_PITD!$33:$33)-1))

In row 33 of this sheet, I have the following Information
A33: CUM
B33: Jan 05
C33: Feb 05
D33: Mar 05 ...
M33:Dec 05

CPI_SPI_PITD_chtlen is defined as 12 for now
When I add data in column N, and view the named range that applies to this,
it still shows from B33: M33. Never moves to the right. What am I missing?

Thanks,
Barb Reinhardt




  #2   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Dynamic Chart Question

Hi,

Try this,

=OFFSET(CPI_SPI_PITD!$B$33,0,MAX(0,COUNTA(CPI_SPI_ PITD!$33:$33)-CPI_SPI_PITD!$A$29-1),1,CPI_SPI_PITD!$A$29)

You current have the column offset set to zero and the number of columns
being determined by a COUNTA formula. On need to calculate the offset
and use the width directly form the CPI_SPI_PITD_chtlen value.

Cheers
Andy

Barb Reinhardt wrote:
I want to define a chart label and I have this:

=OFFSET(CPI_SPI_PITD!$B$33,0,0,1,MIN(CPI_SPI_PITD! CPI_SPI_PITD_chtlen,COUNTA(CPI_SPI_PITD!$33:$33)-1))

In row 33 of this sheet, I have the following Information
A33: CUM
B33: Jan 05
C33: Feb 05
D33: Mar 05 ...
M33:Dec 05

CPI_SPI_PITD_chtlen is defined as 12 for now
When I add data in column N, and view the named range that applies to this,
it still shows from B33: M33. Never moves to the right. What am I missing?

Thanks,
Barb Reinhardt





--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
Barb Reinhardt
 
Posts: n/a
Default Dynamic Chart Question

Andy, I don't get where you got

CPI_SPI_PITD!$A$29-1

A29 has nothing in it. I want to use the chtlen value which currently has
12 in it.

There is other information in that cell
"Andy Pope" wrote in message
...
Hi,

Try this,

=OFFSET(CPI_SPI_PITD!$B$33,0,MAX(0,COUNTA(CPI_SPI_ PITD!$33:$33)-CPI_SPI_PITD!$A$29-1),1,CPI_SPI_PITD!$A$29)

You current have the column offset set to zero and the number of columns
being determined by a COUNTA formula. On need to calculate the offset and
use the width directly form the CPI_SPI_PITD_chtlen value.

Cheers
Andy

Barb Reinhardt wrote:
I want to define a chart label and I have this:

=OFFSET(CPI_SPI_PITD!$B$33,0,0,1,MIN(CPI_SPI_PITD! CPI_SPI_PITD_chtlen,COUNTA(CPI_SPI_PITD!$33:$33)-1))

In row 33 of this sheet, I have the following Information
A33: CUM
B33: Jan 05
C33: Feb 05
D33: Mar 05 ...
M33:Dec 05

CPI_SPI_PITD_chtlen is defined as 12 for now
When I add data in column N, and view the named range that applies to
this, it still shows from B33: M33. Never moves to the right. What am
I missing?

Thanks,
Barb Reinhardt





--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info



  #4   Report Post  
Posted to microsoft.public.excel.charting
Andy Pope
 
Posts: n/a
Default Dynamic Chart Question

A29 was where I put the value 12. replace A29 with your named range
CPI_SPI_PITD_chtlen.

Barb Reinhardt wrote:
Andy, I don't get where you got

CPI_SPI_PITD!$A$29-1

A29 has nothing in it. I want to use the chtlen value which currently has
12 in it.

There is other information in that cell
"Andy Pope" wrote in message
...

Hi,

Try this,

=OFFSET(CPI_SPI_PITD!$B$33,0,MAX(0,COUNTA(CPI_SP I_PITD!$33:$33)-CPI_SPI_PITD!$A$29-1),1,CPI_SPI_PITD!$A$29)

You current have the column offset set to zero and the number of columns
being determined by a COUNTA formula. On need to calculate the offset and
use the width directly form the CPI_SPI_PITD_chtlen value.

Cheers
Andy

Barb Reinhardt wrote:

I want to define a chart label and I have this:

=OFFSET(CPI_SPI_PITD!$B$33,0,0,1,MIN(CPI_SPI_PI TD!CPI_SPI_PITD_chtlen,COUNTA(CPI_SPI_PITD!$33:$33 )-1))

In row 33 of this sheet, I have the following Information
A33: CUM
B33: Jan 05
C33: Feb 05
D33: Mar 05 ...
M33:Dec 05

CPI_SPI_PITD_chtlen is defined as 12 for now
When I add data in column N, and view the named range that applies to
this, it still shows from B33: M33. Never moves to the right. What am
I missing?

Thanks,
Barb Reinhardt





--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info





--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
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
dynamic chart title text cwinters Excel Discussion (Misc queries) 2 June 9th 05 08:31 PM
pie-charting non-numeric data Gina O'Brien Charts and Charting in Excel 4 May 20th 05 12:23 PM
how to change range for dynamic chart in excel 2000 with button? ivan Charts and Charting in Excel 2 April 24th 05 04:10 AM
Dynamic chart JC Excel Discussion (Misc queries) 1 March 29th 05 01:28 PM
Area Chart Formatting Question Avrilon Charts and Charting in Excel 3 December 2nd 04 09:14 PM


All times are GMT +1. The time now is 05:28 AM.

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"