A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Charts and Charting
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Color change on bars when goal met



 
 
Thread Tools Display Modes
  #1  
Old October 18th, 2008, 08:27 PM posted to microsoft.public.excel.charting
wgnewman
external usenet poster
 
Posts: 6
Default Color change on bars when goal met

How do you have a bar change/begin a new color when the total reaches and
surpasses a goal/target? For example, if a series has totals above and below
a goal of, say, 70, I want each bar to show when that goal is met and to have
a different color on the same said bars displaying the amount above the goal.

  #2  
Old October 18th, 2008, 09:02 PM posted to microsoft.public.excel.charting
ShaneDevenshire
external usenet poster
 
Posts: 2,232
Default Color change on bars when goal met

Hi,

What you need to do is break your data range into two data ranges, one for
values above 70 the other for ones below, to do that us a formula approach.
Say you data is in B1:B10, which x axis data in column A. In C1 enter the
formula
=IF(B170,B1,70)
In cell D1 enter the formula
=IF(B1=70,B1-70,0)
Copy these two formulas down and plot the range A1:A10 and C110 as a
Stacked bar.


If this helps, please click the Yes button.
--
Thanks,
Shane Devenshire


"wgnewman" wrote:

How do you have a bar change/begin a new color when the total reaches and
surpasses a goal/target? For example, if a series has totals above and below
a goal of, say, 70, I want each bar to show when that goal is met and to have
a different color on the same said bars displaying the amount above the goal.

  #3  
Old October 19th, 2008, 12:51 AM posted to microsoft.public.excel.charting
Bernard Liengme
external usenet poster
 
Posts: 516
Default Color change on bars when goal met

For an example of what Shane talks about see
http://peltiertech.com/Excel/Charts/...nalChart1.html
best wishes
--
www.stfx.ca/people/bliengme


"wgnewman" wrote:

How do you have a bar change/begin a new color when the total reaches and
surpasses a goal/target? For example, if a series has totals above and below
a goal of, say, 70, I want each bar to show when that goal is met and to have
a different color on the same said bars displaying the amount above the goal.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:13 AM.


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