PC Review


Reply
Thread Tools Rate Thread

How can I make a Chart data series treat blanks as "Empty" cells

 
 
=?Utf-8?B?WExBRExL?=
Guest
Posts: n/a
 
      30th Aug 2005
My Data Series contains blanks as the result of formula calculations. The
location and number of blanks can change with each recalculation as input
criteria change. I can make my Chart ignore an "Empty" cell easy enough but
my cells still contain the formula which created the blank ("") cell and
therefore, not truely empty. I want to plot the series, about 7000 values,
without the blanks showing up as zeros and ruining my trendline fit.
Removing those rows is not an option as I have to retain the x-axis value as
place holder on the chart.

Thanks for your help; nothing is as simple as it seems when you start

Dan
 
Reply With Quote
 
 
 
 
Tushar Mehta
Guest
Posts: n/a
 
      30th Aug 2005
In article <48B9A1EC-2AD0-4CC3-8CD7-(E-Mail Removed)>,
(E-Mail Removed) says...
> My Data Series contains blanks as the result of formula calculations. The
> location and number of blanks can change with each recalculation as input
> criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> my cells still contain the formula which created the blank ("") cell and
> therefore, not truely empty. I want to plot the series, about 7000 values,
> without the blanks showing up as zeros and ruining my trendline fit.
> Removing those rows is not an option as I have to retain the x-axis value as
> place holder on the chart.
>
> Thanks for your help; nothing is as simple as it seems when you start
>
> Dan
>

Replace the "" with NA(). I don't know the effect on the trendline and
if any whether it will be acceptable to you. It's something you will
have to check on and decide for yourself.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
 
Reply With Quote
 
=?Utf-8?B?WExBRExL?=
Guest
Posts: n/a
 
      30th Aug 2005
That is certainly an improvement, thanks a lot.

Dan

"Tushar Mehta" wrote:

> In article <48B9A1EC-2AD0-4CC3-8CD7-(E-Mail Removed)>,
> (E-Mail Removed) says...
> > My Data Series contains blanks as the result of formula calculations. The
> > location and number of blanks can change with each recalculation as input
> > criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> > my cells still contain the formula which created the blank ("") cell and
> > therefore, not truely empty. I want to plot the series, about 7000 values,
> > without the blanks showing up as zeros and ruining my trendline fit.
> > Removing those rows is not an option as I have to retain the x-axis value as
> > place holder on the chart.
> >
> > Thanks for your help; nothing is as simple as it seems when you start
> >
> > Dan
> >

> Replace the "" with NA(). I don't know the effect on the trendline and
> if any whether it will be acceptable to you. It's something you will
> have to check on and decide for yourself.
>
> --
> Regards,
>
> Tushar Mehta
> www.tushar-mehta.com
> Excel, PowerPoint, and VBA add-ins, tutorials
> Custom MS Office productivity solutions
>

 
Reply With Quote
 
Jon Quixley
Guest
Posts: n/a
 
      30th Aug 2005

Have you tried hiding the offending rows ?

Jo

--
Jon Quixle
-----------------------------------------------------------------------
Jon Quixley's Profile: http://www.excelforum.com/member.php...fo&userid=2580
View this thread: http://www.excelforum.com/showthread.php?threadid=40030

 
Reply With Quote
 
=?Utf-8?B?WExBRExL?=
Guest
Posts: n/a
 
      30th Aug 2005
There are several thousand of them scattered about and they change with each
itereation so there would have to be an automatic way to do it.

Thanks for the reply

"Jon Quixley" wrote:

>
> Have you tried hiding the offending rows ?
>
> Jon
>
>
> --
> Jon Quixley
> ------------------------------------------------------------------------
> Jon Quixley's Profile: http://www.excelforum.com/member.php...o&userid=25803
> View this thread: http://www.excelforum.com/showthread...hreadid=400300
>
>

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      30th Aug 2005
> Removing those rows is not an option as I have to retain the x-axis
> value as place holder on the chart.


So you're making a line chart and not an XY chart? This may play havoc
with your trendline formula, since Excel calculates line chart
categories as 1, 2, 3, etc.

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

XLADLK wrote:

> My Data Series contains blanks as the result of formula calculations. The
> location and number of blanks can change with each recalculation as input
> criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> my cells still contain the formula which created the blank ("") cell and
> therefore, not truely empty. I want to plot the series, about 7000 values,
> without the blanks showing up as zeros and ruining my trendline fit.
> Removing those rows is not an option as I have to retain the x-axis value as
> place holder on the chart.
>
> Thanks for your help; nothing is as simple as it seems when you start
>
> Dan

 
Reply With Quote
 
=?Utf-8?B?WExBRExL?=
Guest
Posts: n/a
 
      30th Aug 2005
Hmm, that may be why the trendline isn't fitting just real well but I don't
know of a better way. It's like plotting the number of people injured by
tornados each month for the last 20 years and then running a trendline
through only the Cat 5's. The next iteration might be only Cat 3 and above.
A given month may or may not have a value depending on your criteria. See my
problem? Suggestions are welcome.

Thanks

"Jon Peltier" wrote:

> > Removing those rows is not an option as I have to retain the x-axis
> > value as place holder on the chart.

>
> So you're making a line chart and not an XY chart? This may play havoc
> with your trendline formula, since Excel calculates line chart
> categories as 1, 2, 3, etc.
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Peltier Technical Services
> Tutorials and Custom Solutions
> http://PeltierTech.com/
> _______
>
> XLADLK wrote:
>
> > My Data Series contains blanks as the result of formula calculations. The
> > location and number of blanks can change with each recalculation as input
> > criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> > my cells still contain the formula which created the blank ("") cell and
> > therefore, not truely empty. I want to plot the series, about 7000 values,
> > without the blanks showing up as zeros and ruining my trendline fit.
> > Removing those rows is not an option as I have to retain the x-axis value as
> > place holder on the chart.
> >
> > Thanks for your help; nothing is as simple as it seems when you start
> >
> > Dan

>

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      31st Aug 2005
I guess I'd try filtering the data, extracting the Category 5s to a new
sheet and analyzing that subset. Another option would be a pivot table,
because you can sort the storms by cateogyr, and group the dates by
month or year. I'd also put the data onto an XY chart.

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


XLADLK wrote:

> Hmm, that may be why the trendline isn't fitting just real well but I don't
> know of a better way. It's like plotting the number of people injured by
> tornados each month for the last 20 years and then running a trendline
> through only the Cat 5's. The next iteration might be only Cat 3 and above.
> A given month may or may not have a value depending on your criteria. See my
> problem? Suggestions are welcome.
>
> Thanks
>
> "Jon Peltier" wrote:
>
>
>> > Removing those rows is not an option as I have to retain the x-axis
>> > value as place holder on the chart.

>>
>>So you're making a line chart and not an XY chart? This may play havoc
>>with your trendline formula, since Excel calculates line chart
>>categories as 1, 2, 3, etc.
>>
>>- Jon
>>-------
>>Jon Peltier, Microsoft Excel MVP
>>Peltier Technical Services
>>Tutorials and Custom Solutions
>>http://PeltierTech.com/
>>_______
>>
>>XLADLK wrote:
>>
>>
>>>My Data Series contains blanks as the result of formula calculations. The
>>>location and number of blanks can change with each recalculation as input
>>>criteria change. I can make my Chart ignore an "Empty" cell easy enough but
>>>my cells still contain the formula which created the blank ("") cell and
>>>therefore, not truely empty. I want to plot the series, about 7000 values,
>>>without the blanks showing up as zeros and ruining my trendline fit.
>>>Removing those rows is not an option as I have to retain the x-axis value as
>>>place holder on the chart.
>>>
>>>Thanks for your help; nothing is as simple as it seems when you start
>>>
>>>Dan

>>

 
Reply With Quote
 
=?Utf-8?B?Z3Jvag==?=
Guest
Posts: n/a
 
      5th Jan 2006
Have you found the answer yet?
I am trying to plot a data series also through months. If the month is not
here yet, the cell is calculated to be blank, but the chart is plotting it as
zero. Is this similar to your situation? How did you fix it?
Thanks

"XLADLK" wrote:

> My Data Series contains blanks as the result of formula calculations. The
> location and number of blanks can change with each recalculation as input
> criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> my cells still contain the formula which created the blank ("") cell and
> therefore, not truely empty. I want to plot the series, about 7000 values,
> without the blanks showing up as zeros and ruining my trendline fit.
> Removing those rows is not an option as I have to retain the x-axis value as
> place holder on the chart.
>
> Thanks for your help; nothing is as simple as it seems when you start
>
> Dan

 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      11th Jan 2006
Option 1: Replace the "" in your formula with NA().

Option 2: If you don't like the ugly #N/A or it messes up downstream
calculations, use another column in which you have the NA() instead of
the "". Plot this new column but use the original for other work.

Option 3: Adapt the ideas behind
Dynamic Charts
http://www.tushar-mehta.com/excel/ne...rts/index.html
If you use COUNT() instead of COUNTA(), the solution will include only
those cells with numbers and exclude the ""s.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <D4279D04-1449-4565-9038-(E-Mail Removed)>,
(E-Mail Removed) says...
> Have you found the answer yet?
> I am trying to plot a data series also through months. If the month is not
> here yet, the cell is calculated to be blank, but the chart is plotting it as
> zero. Is this similar to your situation? How did you fix it?
> Thanks
>
> "XLADLK" wrote:
>
> > My Data Series contains blanks as the result of formula calculations. The
> > location and number of blanks can change with each recalculation as input
> > criteria change. I can make my Chart ignore an "Empty" cell easy enough but
> > my cells still contain the formula which created the blank ("") cell and
> > therefore, not truely empty. I want to plot the series, about 7000 values,
> > without the blanks showing up as zeros and ruining my trendline fit.
> > Removing those rows is not an option as I have to retain the x-axis value as
> > place holder on the chart.
> >
> > Thanks for your help; nothing is as simple as it seems when you start
> >
> > Dan

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
editing chart series data w/ "keyboard only" (2007) J-Sep Microsoft Excel Charting 2 26th Jan 2011 10:33 PM
Eliminate "white space" at edge of area chart data series PatK Microsoft Excel Charting 2 23rd Apr 2009 03:11 PM
"treat empty cells as" is greyed out in charts =?Utf-8?B?RmxldGNoMjYwNDcz?= Microsoft Excel Charting 1 8th Jul 2007 07:44 PM
Re: Best way to "turn off" a data series on a chart? Kelly O'Day Microsoft Excel Charting 0 13th Dec 2006 05:40 PM
How can I chart a data series without showing empty cells? =?Utf-8?B?QnJlbnQ=?= Microsoft Excel Charting 1 19th Jan 2006 03:38 PM


Features
 

Advertising
 

Newsgroups
 


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