Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default XY Charts - not plotting zero or #N/A Points


Using Excel 2003

Have a range of data containing some "empty" cells. However, as they
come from a formula they aren't of course empty.

Am using this data to plot an X-Y chart where I want these "empty"
cells not to plot. Have set the tools-options-charts setting to Not
plotted.

Have read numerous other postings here and elsewhere which says to have
#N/A as my "empty" value. It still interpolates the points.

Seen a posting suggesting I use VBA but unless this is relatively
simple, is a bit beyond me (and can't find a posting with any code)

Any suggestions?

Thanks

Paul


--
paulch
------------------------------------------------------------------------
paulch's Profile: http://www.thecodecage.com/forumz/member.php?userid=588
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=120953

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,489
Default XY Charts - not plotting zero or #N/A Points

Hi,

This timely post might help.
http://peltiertech.com/WordPress/min...g-empty-cells/

Not that even with #N/A the scatter line will not be broken, only the
data points are skipped.
http://www.andypope.info/charts/brokenlines.htm

The VBA would be something like,

Range("A1:A10").specialcells(xlcelltypeformulas,16 ).clear

which will clear all cells in the range with formula errors.

Cheers
Andy

paulch wrote:
Using Excel 2003

Have a range of data containing some "empty" cells. However, as they
come from a formula they aren't of course empty.

Am using this data to plot an X-Y chart where I want these "empty"
cells not to plot. Have set the tools-options-charts setting to Not
plotted.

Have read numerous other postings here and elsewhere which says to have
#N/A as my "empty" value. It still interpolates the points.

Seen a posting suggesting I use VBA but unless this is relatively
simple, is a bit beyond me (and can't find a posting with any code)

Any suggestions?

Thanks

Paul



--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default XY Charts - not plotting zero or #N/A Points


Thanks Andy

Got a colleague to use your VBA and it works a treat

Thanks very much

Paul


Andy Pope;435754 Wrote:
Hi,

This timely post might help.
'Mind the Gap - Charting Empty Cells | PTS Blog'
(http://peltiertech.com/WordPress/min...g-empty-cells/)

Not that even with #N/A the scatter line will not be broken, only the
data points are skipped.
'AJP Excel Information - Broken lines'
(http://www.andypope.info/charts/brokenlines.htm)

The VBA would be something like,

Range("A1:A10").specialcells(xlcelltypeformulas,16 ).clear

which will clear all cells in the range with formula errors.

Cheers
Andy

paulch wrote:
Using Excel 2003

Have a range of data containing some "empty" cells. However, as they
come from a formula they aren't of course empty.

Am using this data to plot an X-Y chart where I want these "empty"
cells not to plot. Have set the tools-options-charts setting to Not
plotted.

Have read numerous other postings here and elsewhere which says to

have
#N/A as my "empty" value. It still interpolates the points.

Seen a posting suggesting I use VBA but unless this is relatively
simple, is a bit beyond me (and can't find a posting with any code)

Any suggestions?

Thanks

Paul



--

Andy Pope, Microsoft MVP - Excel
'AJP Excel Information' (http://www.andypope.info)



--
paulch
------------------------------------------------------------------------
paulch's Profile: http://www.thecodecage.com/forumz/member.php?userid=588
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=120953

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
Need some plotting help - determining which points are farthest apart memilanuk[_2_] Excel Discussion (Misc queries) 5 May 23rd 09 01:33 AM
Plotting data points on 2 axis Nikhil Charts and Charting in Excel 4 April 27th 09 05:40 PM
Automatically plotting all points for a specific time period Denise Excel Worksheet Functions 0 February 8th 08 02:30 PM
Not plotting data points in a line chart NameDuJour Charts and Charting in Excel 1 November 1st 07 09:29 AM
Plotting two data points as one kraway Excel Discussion (Misc queries) 1 March 12th 07 08:38 PM


All times are GMT +1. The time now is 07:27 PM.

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

About Us

"It's about Microsoft Excel"