Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
jc jc is offline
external usenet poster
 
Posts: 164
Default conditional formatting within chart

I've got a bar chart (the lines flow left to right) that i update every
week...the current bar chart i'm using has some sort of conditional
formatting where if the number is 0, the bars are all green, but if the
number is <0, then all the bars are red...for some reason my original chart's
formatting stopped working. how do i set that up, short of highlighting each
bar...i've got about 20 graphs to update...

Thanks!!!
JC
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10,593
Default conditional formatting within chart

The way that I would do it is to have two sets of helper columns, one with
the negatives and one with the positives, like so

=(IF(H1<0,ABS(H1),NA())

and

=IF(H10,H1,NA())

and copy down. Then chart those two sets of data in one go. The bars will be
setup as different colours and you can format to red and green.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"JC" wrote in message
...
I've got a bar chart (the lines flow left to right) that i update every
week...the current bar chart i'm using has some sort of conditional
formatting where if the number is 0, the bars are all green, but if the
number is <0, then all the bars are red...for some reason my original
chart's
formatting stopped working. how do i set that up, short of highlighting
each
bar...i've got about 20 graphs to update...

Thanks!!!
JC



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default conditional formatting within chart

Here's a tutorial that expands upon the technique Bob describes:

http://peltiertech.com/Excel/Charts/...nalChart1.html

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


"Bob Phillips" wrote in message
...
The way that I would do it is to have two sets of helper columns, one with
the negatives and one with the positives, like so

=(IF(H1<0,ABS(H1),NA())

and

=IF(H10,H1,NA())

and copy down. Then chart those two sets of data in one go. The bars will
be setup as different colours and you can format to red and green.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"JC" wrote in message
...
I've got a bar chart (the lines flow left to right) that i update every
week...the current bar chart i'm using has some sort of conditional
formatting where if the number is 0, the bars are all green, but if the
number is <0, then all the bars are red...for some reason my original
chart's
formatting stopped working. how do i set that up, short of highlighting
each
bar...i've got about 20 graphs to update...

Thanks!!!
JC





  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10,593
Default conditional formatting within chart

Sheesh! And there was me thinking I thought it up :-)!

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Jon Peltier" wrote in message
...
Here's a tutorial that expands upon the technique Bob describes:

http://peltiertech.com/Excel/Charts/...nalChart1.html

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


"Bob Phillips" wrote in message
...
The way that I would do it is to have two sets of helper columns, one
with the negatives and one with the positives, like so

=(IF(H1<0,ABS(H1),NA())

and

=IF(H10,H1,NA())

and copy down. Then chart those two sets of data in one go. The bars will
be setup as different colours and you can format to red and green.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"JC" wrote in message
...
I've got a bar chart (the lines flow left to right) that i update every
week...the current bar chart i'm using has some sort of conditional
formatting where if the number is 0, the bars are all green, but if the
number is <0, then all the bars are red...for some reason my original
chart's
formatting stopped working. how do i set that up, short of highlighting
each
bar...i've got about 20 graphs to update...

Thanks!!!
JC







  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default conditional formatting within chart

Bob -

I didn't think of it either, but I sure don't remember who I copped it from.

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


"Bob Phillips" wrote in message
...
Sheesh! And there was me thinking I thought it up :-)!

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Jon Peltier" wrote in message
...
Here's a tutorial that expands upon the technique Bob describes:

http://peltiertech.com/Excel/Charts/...nalChart1.html

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


"Bob Phillips" wrote in message
...
The way that I would do it is to have two sets of helper columns, one
with the negatives and one with the positives, like so

=(IF(H1<0,ABS(H1),NA())

and

=IF(H10,H1,NA())

and copy down. Then chart those two sets of data in one go. The bars
will be setup as different colours and you can format to red and green.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)



"JC" wrote in message
...
I've got a bar chart (the lines flow left to right) that i update every
week...the current bar chart i'm using has some sort of conditional
formatting where if the number is 0, the bars are all green, but if
the
number is <0, then all the bars are red...for some reason my original
chart's
formatting stopped working. how do i set that up, short of
highlighting each
bar...i've got about 20 graphs to update...

Thanks!!!
JC








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
Chart with conditional formatting Charles Charts and Charting in Excel 2 October 16th 07 08:36 PM
Conditional Chart Formatting? Sandy Charts and Charting in Excel 2 August 17th 07 05:34 PM
Chart Conditional Formatting Jus Excel Discussion (Misc queries) 1 August 29th 06 08:14 PM
Conditional formatting a bar chart Caro-Kann Defence Charts and Charting in Excel 2 September 13th 05 01:52 PM
Conditional formatting in a chart Baro Charts and Charting in Excel 3 June 27th 05 06:01 AM


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