PC Review


Reply
Thread Tools Rate Thread

Charting only Used Range with Named Ranges

 
 
cooter24
Guest
Posts: n/a
 
      26th Jan 2006

All right I have been working on this for awhile and I cannot seem to
get it perfect. I have a number of charts that take daily security
information and chart it as a time series. I am trying to automate
this by using named ranges. When I do this the chart's x axis extends
much further than the data which is charted. Is there a way to use a
countif or sumproduct funtion in the offset formula to only chart the
used data? Any workaround would be appreciated.

Thanks,
Cory


--
cooter24
------------------------------------------------------------------------
cooter24's Profile: http://www.excelforum.com/member.php...o&userid=29619
View this thread: http://www.excelforum.com/showthread...hreadid=505416

 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      26th Jan 2006
Read about dynamic charts on my Tips&Tricks page
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"cooter24" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> All right I have been working on this for awhile and I cannot seem to
> get it perfect. I have a number of charts that take daily security
> information and chart it as a time series. I am trying to automate
> this by using named ranges. When I do this the chart's x axis extends
> much further than the data which is charted. Is there a way to use a
> countif or sumproduct funtion in the offset formula to only chart the
> used data? Any workaround would be appreciated.
>
> Thanks,
> Cory
>
>
> --
> cooter24
> ------------------------------------------------------------------------
> cooter24's Profile:
> http://www.excelforum.com/member.php...o&userid=29619
> View this thread: http://www.excelforum.com/showthread...hreadid=505416
>



 
Reply With Quote
 
cooter24
Guest
Posts: n/a
 
      26th Jan 2006

Thank you I believe I have seen your post. I know how to set up the
named range what I can't figure out is how to get the chart to only
plot the cells that have values and ignore the ones that are blank.

Thanks


--
cooter24
------------------------------------------------------------------------
cooter24's Profile: http://www.excelforum.com/member.php...o&userid=29619
View this thread: http://www.excelforum.com/showthread...hreadid=505416

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      27th Jan 2006
If the filled cells are at the top, and the empty ones at the bottom, you
use an offset statement which includes COUNT to determine the length of the
named range. If you have prepopulated the category labels, use only the
column of data values to determine the length of both ranges. Change
Bernard's definition of Date to the following, so the two ranges are the
same size):

=OFFSET(Sales,0,-1)

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

"cooter24" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> Thank you I believe I have seen your post. I know how to set up the
> named range what I can't figure out is how to get the chart to only
> plot the cells that have values and ignore the ones that are blank.
>
> Thanks
>
>
> --
> cooter24



 
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
Defining maximum value from a named range for charting purposes =?Utf-8?B?QmFyYiBSZWluaGFyZHQ=?= Microsoft Excel Charting 2 8th Mar 2006 05:11 PM
How Do You Call Several Named Ranges From A Named Range Minitman Microsoft Excel Misc 13 25th Mar 2004 12:18 AM
How Do You Call Several Named Ranges From A Named Range Minitman Microsoft Excel Worksheet Functions 14 25th Mar 2004 12:18 AM
How Do You Call Several Named Ranges From A Named Range Minitman Microsoft Excel Programming 13 25th Mar 2004 12:18 AM
VBA and Charting Named Ranges? Bill Hertzing Microsoft Excel Charting 3 20th Jan 2004 02:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:57 PM.