Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 12
Default Custom Formatting a Chart Data Label

I want to create a chart which will display a zero value on the data label
where there is in fact a zero value, and show N/A on the data label where it
didn't apply. The formula I am using in the spreadsheet uses a nested formula
to make this determination:
=IF(AND(B22+C220,C220),B22/C22,NA())
Presently, it works but displays the #N/A on the chart where I would prefer
it simply displayed as N/A. Can I do this with a custom format on the data
label??

Thanks so much! I don't know how you all do it but your amazing!


--
If you can read this, thank a Teacher...
If your reading it in English, thank a Veteran!
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Custom Formatting a Chart Data Label

If your formula is being used for both the y-values AND the label, then you
will have to live with #N/A
If you are using a chart label utility (see below) then you could use this
for the label formula
=IF(AND(B22+C220,C220),B22/C22,"N/A")

Also it seems to me (after a big lunch and two glasses of wine) that you
could begin the formula
with =IF(B22*C220,
unless you are avoiding the case when both B22 and C22 are negative.

Label utilities
Rob Bovey's Chart Labeller, http://appspro.com
John Walkenbach's Chart Tools, http://j-walk.com
Tushar's Hover Chart Label utility:
http://tushar-mehta.com/excel/softwa...bel/index.html

best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Telobamipada" wrote in message
...
I want to create a chart which will display a zero value on the data label
where there is in fact a zero value, and show N/A on the data label where
it
didn't apply. The formula I am using in the spreadsheet uses a nested
formula
to make this determination:
=IF(AND(B22+C220,C220),B22/C22,NA())
Presently, it works but displays the #N/A on the chart where I would
prefer
it simply displayed as N/A. Can I do this with a custom format on the data
label??

Thanks so much! I don't know how you all do it but your amazing!


--
If you can read this, thank a Teacher...
If your reading it in English, thank a Veteran!



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
Data Label in Chart Legend pbrenny Charts and Charting in Excel 2 November 16th 07 05:25 PM
Excel Charts - Create a custom data label Sunil Charts and Charting in Excel 1 January 25th 07 02:18 PM
Implementing a Label with certain data in Chart Tim Charts and Charting in Excel 3 September 13th 05 12:55 PM
Possible to add second data label to pie chart? jpwolf00 Charts and Charting in Excel 7 June 10th 05 02:34 PM
Resize chart data label donesquire Charts and Charting in Excel 2 June 9th 05 03:06 PM


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

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

About Us

"It's about Microsoft Excel"