Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Conditional formatting

Difference
$ %

Auto 1,813.00 Auto 1,663.00 -150.00 -8.27%
Boiler 280.00 Boiler 425.00 145.00 51.79%
Crime 103.00 Crime 321.00 218.00 211.65%

In the above example, how do I apply conditional formatting so the % change
is a different colour if Auto increased or decreased more than 10%, % change
cell to be red, if Boiler increased or decreased more than 10% than % change
cell to be green, if Crime increased or decreased more than 10% than % change
cell to be yellow, etc.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Conditional formatting

Assume your % starts in F1 and the words Auto, Boiler... are in column C:

Highlight the data in column F and then
Choose Format, Conditional Formatting, and change the first drop down to
Formula is and enter the following formula:

=AND(OR(F10.1,F1<-0.1),C1="Auto")

Set a color under Format, then OK once, and then Add a second condition.
This will work the same as above but change the word Auto to Boiler. Repeat
up to three conditions.

--
Cheers,
Shane Devenshire


"jostlund" wrote:

Difference
$ %

Auto 1,813.00 Auto 1,663.00 -150.00 -8.27%
Boiler 280.00 Boiler 425.00 145.00 51.79%
Crime 103.00 Crime 321.00 218.00 211.65%

In the above example, how do I apply conditional formatting so the % change
is a different colour if Auto increased or decreased more than 10%, % change
cell to be red, if Boiler increased or decreased more than 10% than % change
cell to be green, if Crime increased or decreased more than 10% than % change
cell to be yellow, etc.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Conditional formatting

Thanks Shane, that works! Now I just need to figure out the process for
dealing with more than 3 conditions!


"ShaneDevenshire" wrote:

Assume your % starts in F1 and the words Auto, Boiler... are in column C:

Highlight the data in column F and then
Choose Format, Conditional Formatting, and change the first drop down to
Formula is and enter the following formula:

=AND(OR(F10.1,F1<-0.1),C1="Auto")

Set a color under Format, then OK once, and then Add a second condition.
This will work the same as above but change the word Auto to Boiler. Repeat
up to three conditions.

--
Cheers,
Shane Devenshire


"jostlund" wrote:

Difference
$ %

Auto 1,813.00 Auto 1,663.00 -150.00 -8.27%
Boiler 280.00 Boiler 425.00 145.00 51.79%
Crime 103.00 Crime 321.00 218.00 211.65%

In the above example, how do I apply conditional formatting so the % change
is a different colour if Auto increased or decreased more than 10%, % change
cell to be red, if Boiler increased or decreased more than 10% than % change
cell to be green, if Crime increased or decreased more than 10% than % change
cell to be yellow, etc.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Conditional formatting

Not so simple, buy 2007! Excel 2003 will only handle 3 conditions. You
could write a macro to do it, but in 2007 there is no limit on the number of
conditions.
--
Cheers,
Shane Devenshire


"jostlund" wrote:

Thanks Shane, that works! Now I just need to figure out the process for
dealing with more than 3 conditions!


"ShaneDevenshire" wrote:

Assume your % starts in F1 and the words Auto, Boiler... are in column C:

Highlight the data in column F and then
Choose Format, Conditional Formatting, and change the first drop down to
Formula is and enter the following formula:

=AND(OR(F10.1,F1<-0.1),C1="Auto")

Set a color under Format, then OK once, and then Add a second condition.
This will work the same as above but change the word Auto to Boiler. Repeat
up to three conditions.

--
Cheers,
Shane Devenshire


"jostlund" wrote:

Difference
$ %

Auto 1,813.00 Auto 1,663.00 -150.00 -8.27%
Boiler 280.00 Boiler 425.00 145.00 51.79%
Crime 103.00 Crime 321.00 218.00 211.65%

In the above example, how do I apply conditional formatting so the % change
is a different colour if Auto increased or decreased more than 10%, % change
cell to be red, if Boiler increased or decreased more than 10% than % change
cell to be green, if Crime increased or decreased more than 10% than % change
cell to be yellow, etc.

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
sorting a range with conditional formatting renie Excel Worksheet Functions 2 June 2nd 06 10:43 PM
conditional formatting glitches Kat Excel Discussion (Misc queries) 2 May 26th 06 08:16 PM
Keeping conditional formatting when sorting Andrea A Excel Discussion (Misc queries) 0 April 4th 06 03:00 PM
conditional formatting Rich Excel Discussion (Misc queries) 2 April 1st 06 10:27 AM
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Excel Worksheet Functions 6 December 6th 05 09:44 PM


All times are GMT +1. The time now is 07:10 AM.

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"