Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Column charts - format colour by value

Is there a way of formatting a column by the value - eg green for = 98%, red
for <98%?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Column charts - format colour by value

Jon Peltier tell all at
http://peltiertech.com/Excel/Charts/...nalChart1.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Bernster" wrote in message
...
Is there a way of formatting a column by the value - eg green for = 98%,
red
for <98%?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,344
Default Column charts - format colour by value

Hi,

There are two possible questions here -
1. Can you format the entire column green if it goes above 98%
2. Can you format the part of the bar that goes above 98% green while
leaving the remainder red.

For the first one -
Suppose the series in question is in cell B2:B100
Then in cells C2:C100 enter the formula
=IF(B2=98,B2,0) and copy it down
In the cells D2:D100 enter the formula
=IF(B2<98,B2,0) and copy it down
Highlight these new ranges and the x-axis label range, but exclude the
B2:B100 range, and chart your data.
Format one series to Green and one to Red.

For the second -
You can use a stacked column chart for this one
Using the same range as above enter one formula:
=IF(B298,B2-98,0)
and the other
=IF(B2<=98,B2,98)
to plot the data in C:D and the labels but make the chart a stacked column.
You may need to switch the series so that the correct one is on top. In
2003 double-click the series and select the Series Order tab, make the
necessary adjustments.
--
Thanks,
Shane Devenshire


"Bernster" wrote:

Is there a way of formatting a column by the value - eg green for = 98%, red
for <98%?

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
Colour gradients in charts Ken Charts and Charting in Excel 2 December 6th 06 08:35 PM
Combine Clustered Column Bar charts and Stacked column bar charts Richard Charts and Charting in Excel 1 October 26th 06 02:44 AM
Can I import a new colour into the options for creating charts? Lyn37 Charts and Charting in Excel 1 September 8th 05 06:54 PM
My links (bar charts) print in b&w but they should be in colour Colourless in London Charts and Charting in Excel 1 August 22nd 05 09:41 PM
I'm loosing colour when copying charts from excel to word. Ched76 Charts and Charting in Excel 1 June 8th 05 03:12 AM


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

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"