ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Microsoft Office Application Help - Excel Help forum > Excel Programming > Excel Charting

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-05-2005, 12:06 PM
Phil Rowe
Guest
 
Posts: n/a
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?
Reply With Quote
  #2  
Old 05-06-2005, 06:06 AM
Andy Pope
Guest
 
Posts: n/a
Re: I want to ignore invalid values in scatter chart

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
Reply With Quote
  #3  
Old 05-06-2005, 10:06 AM
Jerry W. Lewis
Guest
 
Posts: n/a
Re: I want to ignore invalid values in scatter chart

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 With Quote
Reply

Bookmarks

New topics in Excel Charting


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 09:57 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0