Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default dynamic pie chart

i want to have a pie chart in a sheet by itself, that shows the percent for
each state that has a percent (some have zero values). However the percent
values for each state change when i update another sheet in the workbook, i
want the chart to always select only the states that have non-zero values

i have set the names for the x and y series as follows

statevalues =OFFSET(statechtdata!$B$2,0,0,COUNTA(statechtdata! $B:$B)-1,1)

&

statevaluesY =OFFSET(statevalues,0,-1)

statechtdata has the name for the chart in a1 and the 50 states + DC in
a2:a52 and the coresponding percentages in column b

I tried to set the chart series to
=SERIES(statechtdata!$a$1,statechtdata!satevalues, statechtdata!statevaluesY,1)

this returns an error... any suggestions? (full disclosure I did not write
thsi code I found it on the web)
--
Thanks,

Galen
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- curve dropping to zero ( chart type- Line) vmohan1978 Charts and Charting in Excel 0 February 1st 10 09:11 AM
Dynamic Chart Title With 3D Stacked Column Chart Thomas M. Charts and Charting in Excel 2 March 23rd 09 03:14 PM
Dynamic chart pasted to a new workbook in report can't be dynamic Piotr (Peter)[_2_] Charts and Charting in Excel 2 August 6th 08 05:15 AM
Chart empty with new data in the dynamic range chart. Feejo Excel Discussion (Misc queries) 16 January 3rd 08 10:03 PM
Dynamic Chart Range and Chart Update ExcelMonkey[_154_] Excel Programming 1 July 6th 04 08:26 PM


All times are GMT +1. The time now is 05:10 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"