Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 81
Default Formatting Labels Using Code

I have a stacked column chart based on data as follows:
2005 Exchange Volume Inflation Price
Blank 1,862 1,844 1,844 2,210
Up 0 93 0 402 0
Down 0 111 0 36

The 'Down' values are actually negative amounts but have to be shown as
positives for the chart to work properly. My question is, I woulld like the
lables in the chart for the 'Down' values to be put in brackets to represent
negative numbers. However, since the values have to be positive for this
chart to function properly, simply changing the formatting on the cells will
not work. Is there code I can write for this chart to show any values higher
than zero to be put in brackets?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Formatting Labels Using Code

Apply a custom number format of

"("0")"

Apply it to the Down data and to the data labels for the Down series.

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


"juliejg1" wrote in message
...
I have a stacked column chart based on data as follows:
2005 Exchange Volume Inflation Price
Blank 1,862 1,844 1,844 2,210
Up 0 93 0 402 0
Down 0 111 0 36

The 'Down' values are actually negative amounts but have to be shown as
positives for the chart to work properly. My question is, I woulld like
the
lables in the chart for the 'Down' values to be put in brackets to
represent
negative numbers. However, since the values have to be positive for this
chart to function properly, simply changing the formatting on the cells
will
not work. Is there code I can write for this chart to show any values
higher
than zero to be put in brackets?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 81
Default Formatting Labels Using Code

Works perfectly...Thanks!!

"Jon Peltier" wrote:

Apply a custom number format of

"("0")"

Apply it to the Down data and to the data labels for the Down series.

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


"juliejg1" wrote in message
...
I have a stacked column chart based on data as follows:
2005 Exchange Volume Inflation Price
Blank 1,862 1,844 1,844 2,210
Up 0 93 0 402 0
Down 0 111 0 36

The 'Down' values are actually negative amounts but have to be shown as
positives for the chart to work properly. My question is, I woulld like
the
lables in the chart for the 'Down' values to be put in brackets to
represent
negative numbers. However, since the values have to be positive for this
chart to function properly, simply changing the formatting on the cells
will
not work. Is there code I can write for this chart to show any values
higher
than zero to be put in brackets?




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
2 Questions John Calder New Users to Excel 18 August 24th 06 04:17 AM
chart with map underlay / formatting / labels / suggestions? learningasigo Charts and Charting in Excel 0 June 25th 06 05:59 PM
There is a bug in formatting charts data labels. leonardo.frazao Excel Worksheet Functions 4 May 30th 06 05:31 AM
Change case...help please Terry Excel Worksheet Functions 14 October 2nd 05 12:29 PM
Make Change Case in Excel a format rather than formula Kevin Excel Worksheet Functions 1 March 18th 05 08:53 PM


All times are GMT +1. The time now is 11:13 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"