Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Phil Rowe
 
Posts: n/a
Default I want to ignore invalid values in scatter chart

I have an x-y scatter chart which uses values calculated from other sheets in
the workbook. Sometimes these values are invalid, and therefore I use "IF"
to render the appropriate cell blank. The entire series then disappears from
the chart. I just want that point to bu uncharted. Any ideas?
  #2   Report Post  
Andy Pope
 
Posts: n/a
Default

Hi,

I can't reproduce you problem. Depending on the formula used my data
points either do not show, as intended, or have the value zero.
Are you using a formula like this?

=IF( test , value , NA() )

Cheers
Andy

Phil Rowe wrote:
I have an x-y scatter chart which uses values calculated from other sheets in
the workbook. Sometimes these values are invalid, and therefore I use "IF"
to render the appropriate cell blank. The entire series then disappears from
the chart. I just want that point to bu uncharted. Any ideas?


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
  #3   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

Excel cannot "render ... [a] cell blank" via an "IF" function, because
the IF function must return something, and MS has not defined a return
value that would be equivalent to a blank cell. Most people think of
returning "" as blanking the cell, but "" is a string, and Excel graphs
strings as zero. As Andy suggested, NA() or equivalently #N/A will not
plot, but it also does not cause a break in connecting lines on the
chart. Also, #N/A is an error value that will propagate through
formulas unless you filter it out with IF(ISNA()). Bottom line is that
nothing behaves exactly like an empty cell other than a truly empty cell
(i.e. deleting the formula).

Jerry

Phil Rowe wrote:

I have an x-y scatter chart which uses values calculated from other sheets in
the workbook. Sometimes these values are invalid, and therefore I use "IF"
to render the appropriate cell blank. The entire series then disappears from
the chart. I just want that point to bu uncharted. Any ideas?


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
Zero values in a log chart Joelle_Smith Charts and Charting in Excel 2 May 8th 23 03:42 AM
Create new series (on the same chart) for every change of values in a combobox uriel78 Charts and Charting in Excel 5 April 15th 05 12:08 AM
Scatter Chart Axis as text in C# Web appl Pavr1 Charts and Charting in Excel 1 March 31st 05 05:28 AM
Missing values in Excel Line Chart mw55309 Charts and Charting in Excel 1 January 19th 05 12:10 PM
BUG?: Excel scatter chart: will not plot x-values Bob Excel Discussion (Misc queries) 2 December 31st 04 12:19 AM


All times are GMT +1. The time now is 02:43 AM.

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"