Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 21
Default Show zero value but hide NA

I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or it
may be that the section is not applicable. Therefore, the calculation will
return either NA (not applicable) or 0%. I want the data labels in the chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 457
Default Show zero value but hide NA

What type of chart are you using?

--
Best Regards,

Luke M
"KateB" wrote in message
...
I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or
it
may be that the section is not applicable. Therefore, the calculation
will
return either NA (not applicable) or 0%. I want the data labels in the
chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate



  #3   Report Post  
Senior Member
 
Location: Hyderabad
Posts: 237
Thumbs up

Quote:
Originally Posted by KateB View Post
I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or it
may be that the section is not applicable. Therefore, the calculation will
return either NA (not applicable) or 0%. I want the data labels in the chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate

try this, if(iserror(your function),0,your function).
it will generate 0 in the place of #NA.

all the best
__________________
Thanks
Bala
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 21
Default Show zero value but hide NA

Sorry Luke, I hadn't had notification that anyone had replied!

Its just a simple bar chart. At the moment it has a custom format for the
labels of 0%;;; I didn't know if there was something similar for #NA.

Kate

"Luke M" wrote:

What type of chart are you using?

--
Best Regards,

Luke M
"KateB" wrote in message
...
I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or
it
may be that the section is not applicable. Therefore, the calculation
will
return either NA (not applicable) or 0%. I want the data labels in the
chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate



.

  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 461
Default Show zero value but hide NA

The NA() trick only is relevant to line or XY charts. In a bar chart use
0, since a zero-height bar isn't visible. Your custom number format will
work just fine.

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


On 6/2/2010 9:22 AM, KateB wrote:
Sorry Luke, I hadn't had notification that anyone had replied!

Its just a simple bar chart. At the moment it has a custom format for the
labels of 0%;;; I didn't know if there was something similar for #NA.

Kate

"Luke M" wrote:

What type of chart are you using?

--
Best Regards,

Luke M
wrote in message
...
I have a report that calculates the percentage compliance on various
questions and these are then charted in a bar chart. It could be that the
compliance is zero (i.e. not doing any of the required competencies), or
it
may be that the section is not applicable. Therefore, the calculation
will
return either NA (not applicable) or 0%. I want the data labels in the
chart
to show 0% but not NA (which currently shows as 0%, but I also tried NA(),
#NA etc and the label shows that as its value). I've tried various things
but it either hides both or shows both.

Any suggestions please?

Kate



.

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
Show/Hide Inez Excel Discussion (Misc queries) 1 July 8th 09 03:29 PM
hide show question pcor New Users to Excel 3 June 28th 09 10:47 PM
show hide row if Wanna Learn Excel Discussion (Misc queries) 2 May 15th 09 06:08 PM
Hide/Show Data Mike Excel Discussion (Misc queries) 2 July 10th 08 12:41 AM
Show and Hide in Datafield Fullam Excel Discussion (Misc queries) 0 April 17th 06 12:26 PM


All times are GMT +1. The time now is 02:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"