LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 257
Default Multiple Variables in Conditional Formatting with Excel 2003

I'd better rephrase this, Lonnie, and see whether I have it right. You have
values in columns J, R and Z, and in each row of AC you have
AVERAGE(J2,R2,Z2). You want to color J, R and Z depending on how far off the
average it is. You don't want a single average for all the rows, ie
AVERAGE(J:J,R:R,Z:Z), but an average for each row.

Here's how I'd do it:

1) Your values in J, R and Z. You already have this.
2) AC2 (we'll use row 2 as our example) =AVERAGE(J2,R2,Z2), copied
throughout the column. You already have this too, I think.
3) Holding down the <Ctl key, click on J, R and Z, thus highlighting the
whole of those three columns.
4) Use Format Cells to color these columns green.
5) With those three columns still highlighted, go to Conditional Formatting.
6) Set the first condition to "Formula Is" and =ABS(Z1)ABS($AC1)*1.3. Make
the format red.
7) Add a second condition and set it to "Formula Is" and
=ABS(Z1)ABS($AC1)*1.2. Make the format yellow.
8) Accept these, then go back to conditional formatting and make sure the
formulae are as you intended (and not with quote marks around them, which is
what often happens to me).
9) If you need to, change back the formatting on the header rows, if any.

If what you were after is a way to set this up without having to do it
cell-by-cell, I think this should do it for you.
 
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
conditional formatting in excel 2003 Quandary 11 - 3 - 07[_2_] Excel Discussion (Misc queries) 5 March 30th 09 04:11 AM
Conditional Formatting of Checklist with several date variables [email protected] Excel Worksheet Functions 0 September 17th 08 07:29 PM
Conditional formatting with variables ScoobyDoo Excel Worksheet Functions 1 February 22nd 08 06:00 PM
Conditional format and multiple variables jmcclain Excel Worksheet Functions 7 February 8th 08 08:03 PM
Conditional formatting for more than 3 variables Emile Excel Worksheet Functions 8 March 7th 06 04:27 PM


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