PC Review


Reply
Thread Tools Rate Thread

Blank instead of ""

 
 
LiAD
Guest
Posts: n/a
 
      29th Mar 2010
Hi,

In a chart I have a formula that either returns a number or "" in a cell. I
then have a dynamic range set which plots the values on a graph. The problem
is that the chart will plot the ""s as zeros as it sees something in the cell.

Is there a way I can have a true blank cell result coming from a formula?

If not how I can avoid the dynamic range seeing this as a zero?

Thanks
LiAD
 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      29th Mar 2010
Replace the blank by #N/A
So let's say your formula is =IF(this-test, B2,"") then use
=IF(this-test,B2,NA())
When the test fails, this displays #N/A which the chart engine ignores
If this looks odd in a print out, use a conditional format such as =ISNA(C2)
and make the font the same as the cell background - make it invisible on the
screen and then printed.
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"LiAD" <(E-Mail Removed)> wrote in message
news:FB1B18B9-BDF6-4B19-884F-(E-Mail Removed)...
> Hi,
>
> In a chart I have a formula that either returns a number or "" in a cell.
> I
> then have a dynamic range set which plots the values on a graph. The
> problem
> is that the chart will plot the ""s as zeros as it sees something in the
> cell.
>
> Is there a way I can have a true blank cell result coming from a formula?
>
> If not how I can avoid the dynamic range seeing this as a zero?
>
> Thanks
> LiAD


 
Reply With Quote
 
LiAD
Guest
Posts: n/a
 
      29th Mar 2010
Hi,

Thanks for the suggestion.

I'm afraid the chart engine (or at least mine anyway) doesn't ignore it - it
plots nothing on the graph but shows a lot of empty space which
increases/decreases as i add/delete N/A's.

If i try this technique on a chart without dynamic ranges it doesnt work
either.

Any ideas why this would be different to your result?

Thanks

"Bernard Liengme" wrote:

> Replace the blank by #N/A
> So let's say your formula is =IF(this-test, B2,"") then use
> =IF(this-test,B2,NA())
> When the test fails, this displays #N/A which the chart engine ignores
> If this looks odd in a print out, use a conditional format such as =ISNA(C2)
> and make the font the same as the cell background - make it invisible on the
> screen and then printed.
> best wishes
> --
> Bernard Liengme
> Microsoft Excel MVP
> http://people.stfx.ca/bliengme
>
> "LiAD" <(E-Mail Removed)> wrote in message
> news:FB1B18B9-BDF6-4B19-884F-(E-Mail Removed)...
> > Hi,
> >
> > In a chart I have a formula that either returns a number or "" in a cell.
> > I
> > then have a dynamic range set which plots the values on a graph. The
> > problem
> > is that the chart will plot the ""s as zeros as it sees something in the
> > cell.
> >
> > Is there a way I can have a true blank cell result coming from a formula?
> >
> > If not how I can avoid the dynamic range seeing this as a zero?
> >
> > Thanks
> > LiAD

>
> .
>

 
Reply With Quote
 
Luke M
Guest
Posts: n/a
 
      29th Mar 2010
What type of chart are you using? Jon Peltier provides several examples of
how you can handle gaps, and how different chart types vary at:
http://peltiertech.com/WordPress/min...g-empty-cells/

--
Best Regards,

Luke M
"LiAD" <(E-Mail Removed)> wrote in message
news:25ACFA09-ED43-4C91-98B1-(E-Mail Removed)...
> Hi,
>
> Thanks for the suggestion.
>
> I'm afraid the chart engine (or at least mine anyway) doesn't ignore it -
> it
> plots nothing on the graph but shows a lot of empty space which
> increases/decreases as i add/delete N/A's.
>
> If i try this technique on a chart without dynamic ranges it doesnt work
> either.
>
> Any ideas why this would be different to your result?
>
> Thanks
>
> "Bernard Liengme" wrote:
>
>> Replace the blank by #N/A
>> So let's say your formula is =IF(this-test, B2,"") then use
>> =IF(this-test,B2,NA())
>> When the test fails, this displays #N/A which the chart engine ignores
>> If this looks odd in a print out, use a conditional format such as
>> =ISNA(C2)
>> and make the font the same as the cell background - make it invisible on
>> the
>> screen and then printed.
>> best wishes
>> --
>> Bernard Liengme
>> Microsoft Excel MVP
>> http://people.stfx.ca/bliengme
>>
>> "LiAD" <(E-Mail Removed)> wrote in message
>> news:FB1B18B9-BDF6-4B19-884F-(E-Mail Removed)...
>> > Hi,
>> >
>> > In a chart I have a formula that either returns a number or "" in a
>> > cell.
>> > I
>> > then have a dynamic range set which plots the values on a graph. The
>> > problem
>> > is that the chart will plot the ""s as zeros as it sees something in
>> > the
>> > cell.
>> >
>> > Is there a way I can have a true blank cell result coming from a
>> > formula?
>> >
>> > If not how I can avoid the dynamic range seeing this as a zero?
>> >
>> > Thanks
>> > LiAD

>>
>> .
>>



 
Reply With Quote
 
LiAD
Guest
Posts: n/a
 
      30th Mar 2010
Thanks - looing through JPs stuff I can't find a solution - it applies to
blank cells in the middle of data not at the end.

My blanks at the end are necessary as the user selects a product then the
data and graph update automatically. As the amount of data changes I need a
formula that returns either data or "" (or something else that the graph
cannot plot).

I'm using a line chart.

I have a list of data which contains a string of NA#s at the end. When I
plot it the graph doesnt plot the NA# but it shifts the line to the left as
if it was plotted. What I would like is the last point of the graph to be to
the very right of the graph to use all the space. If I replace the NA() with
"" i get the same result. If I delete the cell completely the graph moves to
the right as it should.

I'm using dynamic ranges.

Thanks
LiAD

"Luke M" wrote:

> What type of chart are you using? Jon Peltier provides several examples of
> how you can handle gaps, and how different chart types vary at:
> http://peltiertech.com/WordPress/min...g-empty-cells/
>
> --
> Best Regards,
>
> Luke M
> "LiAD" <(E-Mail Removed)> wrote in message
> news:25ACFA09-ED43-4C91-98B1-(E-Mail Removed)...
> > Hi,
> >
> > Thanks for the suggestion.
> >
> > I'm afraid the chart engine (or at least mine anyway) doesn't ignore it -
> > it
> > plots nothing on the graph but shows a lot of empty space which
> > increases/decreases as i add/delete N/A's.
> >
> > If i try this technique on a chart without dynamic ranges it doesnt work
> > either.
> >
> > Any ideas why this would be different to your result?
> >
> > Thanks
> >
> > "Bernard Liengme" wrote:
> >
> >> Replace the blank by #N/A
> >> So let's say your formula is =IF(this-test, B2,"") then use
> >> =IF(this-test,B2,NA())
> >> When the test fails, this displays #N/A which the chart engine ignores
> >> If this looks odd in a print out, use a conditional format such as
> >> =ISNA(C2)
> >> and make the font the same as the cell background - make it invisible on
> >> the
> >> screen and then printed.
> >> best wishes
> >> --
> >> Bernard Liengme
> >> Microsoft Excel MVP
> >> http://people.stfx.ca/bliengme
> >>
> >> "LiAD" <(E-Mail Removed)> wrote in message
> >> news:FB1B18B9-BDF6-4B19-884F-(E-Mail Removed)...
> >> > Hi,
> >> >
> >> > In a chart I have a formula that either returns a number or "" in a
> >> > cell.
> >> > I
> >> > then have a dynamic range set which plots the values on a graph. The
> >> > problem
> >> > is that the chart will plot the ""s as zeros as it sees something in
> >> > the
> >> > cell.
> >> >
> >> > Is there a way I can have a true blank cell result coming from a
> >> > formula?
> >> >
> >> > If not how I can avoid the dynamic range seeing this as a zero?
> >> >
> >> > Thanks
> >> > LiAD
> >>
> >> .
> >>

>
>
> .
>

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      30th Mar 2010
You need to define your chart data dynamically:

Dynamic Charts » Peltier Tech Blog
http://peltiertech.com/WordPress/dynamic-charts/

Dynamic Chart Review » Peltier Tech Blog
http://peltiertech.com/WordPress/dynamic-chart-review/

Dynamic and Interactive Charts
http://peltiertech.com/Excel/Charts/Dynamics.html

- Jon
-------
Jon Peltier
Peltier Technical Services, Inc.
http://peltiertech.com/


On 3/30/2010 2:41 AM, LiAD wrote:
> Thanks - looing through JPs stuff I can't find a solution - it applies to
> blank cells in the middle of data not at the end.
>
> My blanks at the end are necessary as the user selects a product then the
> data and graph update automatically. As the amount of data changes I need a
> formula that returns either data or "" (or something else that the graph
> cannot plot).
>
> I'm using a line chart.
>
> I have a list of data which contains a string of NA#s at the end. When I
> plot it the graph doesnt plot the NA# but it shifts the line to the left as
> if it was plotted. What I would like is the last point of the graph to be to
> the very right of the graph to use all the space. If I replace the NA() with
> "" i get the same result. If I delete the cell completely the graph moves to
> the right as it should.
>
> I'm using dynamic ranges.
>
> Thanks
> LiAD
>
> "Luke M" wrote:
>
>> What type of chart are you using? Jon Peltier provides several examples of
>> how you can handle gaps, and how different chart types vary at:
>> http://peltiertech.com/WordPress/min...g-empty-cells/
>>
>> --
>> Best Regards,
>>
>> Luke M
>> "LiAD"<(E-Mail Removed)> wrote in message
>> news:25ACFA09-ED43-4C91-98B1-(E-Mail Removed)...
>>> Hi,
>>>
>>> Thanks for the suggestion.
>>>
>>> I'm afraid the chart engine (or at least mine anyway) doesn't ignore it -
>>> it
>>> plots nothing on the graph but shows a lot of empty space which
>>> increases/decreases as i add/delete N/A's.
>>>
>>> If i try this technique on a chart without dynamic ranges it doesnt work
>>> either.
>>>
>>> Any ideas why this would be different to your result?
>>>
>>> Thanks
>>>
>>> "Bernard Liengme" wrote:
>>>
>>>> Replace the blank by #N/A
>>>> So let's say your formula is =IF(this-test, B2,"") then use
>>>> =IF(this-test,B2,NA())
>>>> When the test fails, this displays #N/A which the chart engine ignores
>>>> If this looks odd in a print out, use a conditional format such as
>>>> =ISNA(C2)
>>>> and make the font the same as the cell background - make it invisible on
>>>> the
>>>> screen and then printed.
>>>> best wishes
>>>> --
>>>> Bernard Liengme
>>>> Microsoft Excel MVP
>>>> http://people.stfx.ca/bliengme
>>>>
>>>> "LiAD"<(E-Mail Removed)> wrote in message
>>>> news:FB1B18B9-BDF6-4B19-884F-(E-Mail Removed)...
>>>>> Hi,
>>>>>
>>>>> In a chart I have a formula that either returns a number or "" in a
>>>>> cell.
>>>>> I
>>>>> then have a dynamic range set which plots the values on a graph. The
>>>>> problem
>>>>> is that the chart will plot the ""s as zeros as it sees something in
>>>>> the
>>>>> cell.
>>>>>
>>>>> Is there a way I can have a true blank cell result coming from a
>>>>> formula?
>>>>>
>>>>> If not how I can avoid the dynamic range seeing this as a zero?
>>>>>
>>>>> Thanks
>>>>> LiAD
>>>>
>>>> .
>>>>

>>
>>
>> .
>>

 
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
Design Table to show "Null" or "0" for Blank fields KrispyData Microsoft Access Getting Started 4 1st May 2009 09:36 PM
Changing "returned" values from "0" to "blank" =?Utf-8?B?TEFUQVRD?= Microsoft Excel Worksheet Functions 2 20th Oct 2005 04:41 PM
Problem with blank "yes", "no", "cancel" option boxes =?Utf-8?B?Q29saW5HQmxhaW5l?= Windows XP Help 1 3rd Jul 2004 03:35 PM
Looking for a "previous" version in WMM with a "Black or Blank" Transitions Screen. Does ANYONE know were I can find it? This pack must have came with the ORIGINAL Movie Maker...NOT Fun Packs 2003. =?Utf-8?B?TmFu?= Windows XP MovieMaker 1 10th Mar 2004 04:45 PM
Grayed out buttons use "current" "Default" and "Blank" NS Windows XP Internet Explorer 2 12th Nov 2003 08:24 PM


Features
 

Advertising
 

Newsgroups
 


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