PC Review


Reply
Thread Tools Rate Thread

charting that ignores non numeric/date cells

 
 
Giacomo
Guest
Posts: n/a
 
      4th Jun 2004
Is it possible for charting to ignore parts of data
ranges which are neither numbers nor dates? (So far as I
can tell it reads them as 0s.)
Regards,
giacomo
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      5th Jun 2004
Giacomo -

You should delete the non numeric cells. Excel can at least skip a blank
cell. It can't skip an apparently blank cell produced by "" in a
formula, because "" is a text entry even though it's zero characters
long. If you change "" to NA() in a formula, you get an ugly error in
the sheet, but the chart doesn't plot it.

If you're stuck displaying the text within the data table, you could
make another table elsewhere, linked to this one, but without the text.
Use the new table as your chart's data range.

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

Giacomo wrote:

> Is it possible for charting to ignore parts of data
> ranges which are neither numbers nor dates? (So far as I
> can tell it reads them as 0s.)
> Regards,
> giacomo


 
Reply With Quote
 
giacomo
Guest
Posts: n/a
 
      5th Jun 2004
thanks Jon,
I've (almost completely) succeded via filtering out of
the data range blank cells (nonblank). I don't like the
fact that it hides all the rows corresponding to the
blank column cells in the data range and I haven't been
able to fix that (help!). But charting wise it works
perfectly.
By the way substituting "" with na() does not work as the
chart still puts the na values on the axis.
Thanks for your time,
gicomo

>-----Original Message-----
>Giacomo -
>
>You should delete the non numeric cells. Excel can at

least skip a blank
>cell. It can't skip an apparently blank cell produced

by "" in a
>formula, because "" is a text entry even though it's

zero characters
>long. If you change "" to NA() in a formula, you get an

ugly error in
>the sheet, but the chart doesn't plot it.
>
>If you're stuck displaying the text within the data

table, you could
>make another table elsewhere, linked to this one, but

without the text.
>Use the new table as your chart's data range.
>
>- Jon
>-------
>Jon Peltier, Microsoft Excel MVP
>Peltier Technical Services
>Tutorials and Custom Solutions
>http://PeltierTech.com/
>_______
>
>Giacomo wrote:
>
>> Is it possible for charting to ignore parts of data
>> ranges which are neither numbers nor dates? (So far as

I
>> can tell it reads them as 0s.)
>> Regards,
>> giacomo

>
>.
>

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      5th Jun 2004
Giacomo -

What you could do is filter the data, copy it, use Paste Special from
the Edit menu to Paste-Link it elsewhere in the worksheet (where it
won't be seen), and use this new range for the chart's data source.
Since you linked it, updating the original data will change the chart.

What kind of chart are you making? The NA() doesn't appear on a value
axis, but it does on a category axis. So a line chart will have an #N/A
category, but with no marker if the Y value is also #N/A.

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

giacomo wrote:

> thanks Jon,
> I've (almost completely) succeded via filtering out of
> the data range blank cells (nonblank). I don't like the
> fact that it hides all the rows corresponding to the
> blank column cells in the data range and I haven't been
> able to fix that (help!). But charting wise it works
> perfectly.
> By the way substituting "" with na() does not work as the
> chart still puts the na values on the axis.
> Thanks for your time,
> gicomo
>
>
>>-----Original Message-----
>>Giacomo -
>>
>>You should delete the non numeric cells. Excel can at

>
> least skip a blank
>
>>cell. It can't skip an apparently blank cell produced

>
> by "" in a
>
>>formula, because "" is a text entry even though it's

>
> zero characters
>
>>long. If you change "" to NA() in a formula, you get an

>
> ugly error in
>
>>the sheet, but the chart doesn't plot it.
>>
>>If you're stuck displaying the text within the data

>
> table, you could
>
>>make another table elsewhere, linked to this one, but

>
> without the text.
>
>>Use the new table as your chart's data range.
>>
>>- Jon
>>-------
>>Jon Peltier, Microsoft Excel MVP
>>Peltier Technical Services
>>Tutorials and Custom Solutions
>>http://PeltierTech.com/
>>_______
>>
>>Giacomo wrote:
>>
>>
>>>Is it possible for charting to ignore parts of data
>>>ranges which are neither numbers nor dates? (So far as

>
> I
>
>>>can tell it reads them as 0s.)
>>>Regards,
>>>giacomo

>>
>>.
>>


 
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
Cells are changing format from numeric to date automatically Amy Microsoft Excel Misc 3 27th Jan 2011 10:51 AM
pie-charting non-numeric data =?Utf-8?B?RG91ZyBWYW5Pcm51bQ==?= Microsoft Excel Charting 10 17th Sep 2008 01:40 PM
BottomRightCell ignores hidden cells oraustin@hotmail.com Microsoft Excel Programming 13 11th Sep 2006 03:38 PM
Is there a way to write an equation that ignores cells that have . =?Utf-8?B?VVRtaWtl?= Microsoft Excel Worksheet Functions 2 4th Apr 2006 03:24 PM
non numeric pie charting =?Utf-8?B?Y2FydmVyOTIy?= Microsoft Excel New Users 1 10th May 2005 08:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 AM.