Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
cacpanama
 
Posts: n/a
Default XY Scatter doesn't display correctly when data has numbers&empty c

The source data is in columns A (for Y values) and B (for X values). Say A1
through A10 have {6.53, 6.41, 5.89, empty cell, empty cell, empty cell,
empty cell, 6.74, 7.00, 6.50} and B1 through B10 have {7.19, 6.92, 6.74,
6.17, 6.34, 6.57, 6.47, 6.88, 7.12, 6.76}. NOTE that the empty cells result
from an IF statement that if something happens the cell = "". When plotted
as XY Scatter, the chart does not handle properly the empty cells. It
actually becomes like a Line plot, where the X axis is categorical instead of
numerical. I have to CLEAR ALL each of the empty cells so the XY Scatter
works. THe problem is I have thousands of data points and the empty cells
occur randomly throughout the series. Any advice?


  #2   Report Post  
Posted to microsoft.public.excel.charting
Kelly O'Day
 
Posts: n/a
Default XY Scatter doesn't display correctly when data has numbers&empty c

Missing data charting is a frequent user group post.

The key point that I had to learn is that Excel lets you choose how to plot
empty cells: zeros, not plotted or interpolated. Great if a cell is really
empty. For pure data cells, you can select how you want empty cells to be
plotted and you are set.

The problem crops up when you want to plot calculated cells. Your If ""
workaround is a good start, however, Excel sees a formula in your cell so
that to Excel it is not empty, it has a formula in it. it tries to plot your
formula cell, and the best it can do is a 0.

The workaround for calculated cells is to adjust your If formula to
something like:

= If( d2 = "", NA(), b2*d2)

You'll need to replace your actual cell references and formula.

This formula will place a #N/A in those cells that can not be calculated
because of your missing data. Excel recognizes #N/A cells in charting and
ignores them.

I have a tutorial and sample file on this that may be helpful.

http://processtrends.com/pg_charts_missing_data.htm

....Kelly







"cacpanama" wrote in message
...
The source data is in columns A (for Y values) and B (for X values). Say
A1
through A10 have {6.53, 6.41, 5.89, empty cell, empty cell, empty cell,
empty cell, 6.74, 7.00, 6.50} and B1 through B10 have {7.19, 6.92, 6.74,
6.17, 6.34, 6.57, 6.47, 6.88, 7.12, 6.76}. NOTE that the empty cells
result
from an IF statement that if something happens the cell = "". When
plotted
as XY Scatter, the chart does not handle properly the empty cells. It
actually becomes like a Line plot, where the X axis is categorical instead
of
numerical. I have to CLEAR ALL each of the empty cells so the XY Scatter
works. THe problem is I have thousands of data points and the empty cells
occur randomly throughout the series. Any advice?




  #3   Report Post  
Posted to microsoft.public.excel.charting
cacpanama
 
Posts: n/a
Default XY Scatter doesn't display correctly when data has numbers&emp

Many thanks! Problem solved.

"Kelly O'Day" wrote:

Missing data charting is a frequent user group post.

The key point that I had to learn is that Excel lets you choose how to plot
empty cells: zeros, not plotted or interpolated. Great if a cell is really
empty. For pure data cells, you can select how you want empty cells to be
plotted and you are set.

The problem crops up when you want to plot calculated cells. Your If ""
workaround is a good start, however, Excel sees a formula in your cell so
that to Excel it is not empty, it has a formula in it. it tries to plot your
formula cell, and the best it can do is a 0.

The workaround for calculated cells is to adjust your If formula to
something like:

= If( d2 = "", NA(), b2*d2)

You'll need to replace your actual cell references and formula.

This formula will place a #N/A in those cells that can not be calculated
because of your missing data. Excel recognizes #N/A cells in charting and
ignores them.

I have a tutorial and sample file on this that may be helpful.

http://processtrends.com/pg_charts_missing_data.htm

....Kelly







"cacpanama" wrote in message
...
The source data is in columns A (for Y values) and B (for X values). Say
A1
through A10 have {6.53, 6.41, 5.89, empty cell, empty cell, empty cell,
empty cell, 6.74, 7.00, 6.50} and B1 through B10 have {7.19, 6.92, 6.74,
6.17, 6.34, 6.57, 6.47, 6.88, 7.12, 6.76}. NOTE that the empty cells
result
from an IF statement that if something happens the cell = "". When
plotted
as XY Scatter, the chart does not handle properly the empty cells. It
actually becomes like a Line plot, where the X axis is categorical instead
of
numerical. I have to CLEAR ALL each of the empty cells so the XY Scatter
works. THe problem is I have thousands of data points and the empty cells
occur randomly throughout the series. Any advice?





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
Excel control cell display of data with passwords LimaSite85.us Excel Worksheet Functions 0 February 15th 06 05:18 AM
How do I have unique data labels for points in a XY Scatter plot? heyhowzitgoin Charts and Charting in Excel 1 January 18th 06 03:33 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Adding more source data to existing scatter plot Tom Charts and Charting in Excel 1 March 21st 05 10:03 PM
Need Formula to display pivot table source data Don S Excel Worksheet Functions 3 February 23rd 05 10:13 PM


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