ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How to ignore blank cells (https://www.excelbanter.com/charts-charting-excel/71063-how-ignore-blank-cells.html)

MattBeckwith

How to ignore blank cells
 

I have a chart which pulls data from various worksheets. The data
changes monthly, so each new month there are lots of blank cells which
don't yet have values. But the chart continues on for the blank days,
giving each a value of zero (even though the cells contains spaces, not
zero). Is there an option to not chart data points when they're blank
(or zero)? Thanks!


--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile: http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363


Bernard Liengme

How to ignore blank cells
 
1) Click chart to activate it
Use Tools | Options; open Chart tab; specify how empty cells are to be
treated
OR
2) Learn about dynamic charts at
http://www.stfx.ca/people/bliengme/E...ps/Dynamic.htm
OR
3) use =NA() in blank cells, see
http://www.stfx.ca/people/bliengme/E...issingData.htm
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"MattBeckwith"
wrote in message
...

I have a chart which pulls data from various worksheets. The data
changes monthly, so each new month there are lots of blank cells which
don't yet have values. But the chart continues on for the blank days,
giving each a value of zero (even though the cells contains spaces, not
zero). Is there an option to not chart data points when they're blank
(or zero)? Thanks!


--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile:
http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363




MattBeckwith

How to ignore blank cells
 

Bernard Liengme Wrote:
1) Click chart to activate it
Use Tools | Options; open Chart tab; specify how empty cells are to be
treated


Actually, I had already set it to not plot empty cells, but it does
anyway. It seems I can't attach an Excel file to this message, but if
you give me your email address I'll send it to you. My email address
is . Thanks.


--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile:
http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363


Jon Peltier

How to ignore blank cells
 
If the cell contains a formula, even one that returns "", it's not blank. It
contains a formula that returns a text item. Follow Bernard's instructions
for using NA().

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

"MattBeckwith"
wrote in message
news:MattBeckwith.232y4b_1139686501.7405@excelforu m-nospam.com...

Bernard Liengme Wrote:
1) Click chart to activate it
Use Tools | Options; open Chart tab; specify how empty cells are to be
treated


Actually, I had already set it to not plot empty cells, but it does
anyway. It seems I can't attach an Excel file to this message, but if
you give me your email address I'll send it to you. My email address
is . Thanks.


--
MattBeckwith




MattBeckwith

How to ignore blank cells
 

The referenced web page says:

When an empty cell is filled with =NA(), Excel interpolates the missing
data, joining adjacent data points


I don't want the missing data points interpolated.

However, I went ahead and tried the NA() approach, as follows:

=IF('3'!B230,'3'!B23,NA())


But it just filled the cell with

#NA



--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile: http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363


Bernard Liengme

How to ignore blank cells
 
Yes, that is what we want. Now make the chart.
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"MattBeckwith"
wrote in message
...

The referenced web page says:

When an empty cell is filled with =NA(), Excel interpolates the missing
data, joining adjacent data points


I don't want the missing data points interpolated.

However, I went ahead and tried the NA() approach, as follows:

=IF('3'!B230,'3'!B23,NA())


But it just filled the cell with

#NA



--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile:
http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363




MattBeckwith

How to ignore blank cells
 

(Reply made by mistake.)


--
MattBeckwith


------------------------------------------------------------------------
MattBeckwith's Profile: http://www.excelforum.com/member.php...o&userid=30571
View this thread: http://www.excelforum.com/showthread...hreadid=511363


DesM

How to ignore blank cells
 

I have followed this thread and I have a particular problem that I
thought it was intended to solve.
I am plotting with dates on the X axis. The Y values are function
determined. Using the IF function I have tried giving the cell a NA
value but the plot then extrapolates between the points. I do not want
to give it a zero value.
But I actually want the gap.
I suppose I could, using a macro, copy the series and then delete any
cells with NA in them and then use this as the basis for the plot.
Is there a way of avoiding this?
Des M


--
DesM
------------------------------------------------------------------------
DesM's Profile: http://www.excelforum.com/member.php...o&userid=24121
View this thread: http://www.excelforum.com/showthread...hreadid=511363


Jon Peltier

How to ignore blank cells
 
Check Andy Pope's site (http://andypope.info) for a technique to display a
gap for this situation.

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

"DesM" wrote in message
...

I have followed this thread and I have a particular problem that I
thought it was intended to solve.
I am plotting with dates on the X axis. The Y values are function
determined. Using the IF function I have tried giving the cell a NA
value but the plot then extrapolates between the points. I do not want
to give it a zero value.
But I actually want the gap.
I suppose I could, using a macro, copy the series and then delete any
cells with NA in them and then use this as the basis for the plot.
Is there a way of avoiding this?
Des M


--
DesM
------------------------------------------------------------------------
DesM's Profile:
http://www.excelforum.com/member.php...o&userid=24121
View this thread: http://www.excelforum.com/showthread...hreadid=511363




DesM

How to ignore blank cells
 

John,
Thank you kindly for this. It works fine.
I thouhgt that there might be some function like NA() that made the
cell genuinely blank.
Thanks again.
Des M


--
DesM
------------------------------------------------------------------------
DesM's Profile: http://www.excelforum.com/member.php...o&userid=24121
View this thread: http://www.excelforum.com/showthread...hreadid=511363


Jon Peltier

How to ignore blank cells
 
We wish!

- Jon


"DesM" wrote in message
...

John,
Thank you kindly for this. It works fine.
I thouhgt that there might be some function like NA() that made the
cell genuinely blank.
Thanks again.
Des M

--
DesM





All times are GMT +1. The time now is 11:45 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com