Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Auto change background of color based on formula

Based on an calculated "average" I want to change the color of cells based on
"over" or "under" the average.

ie.
Average in cell A9 is 8
Value in cell A7 is 5
Value in cell A4 is 11
Color of cell A7 to be red and color of cell A4 to be green

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default Auto change background of color based on formula

Check on conditional formatting, particularly the formula portion then post
questions from there.
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"fredwing" wrote:

Based on an calculated "average" I want to change the color of cells based on
"over" or "under" the average.

ie.
Average in cell A9 is 8
Value in cell A7 is 5
Value in cell A4 is 11
Color of cell A7 to be red and color of cell A4 to be green

Thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Auto change background of color based on formula

Select your range

Condition 1 =A4A9
Format cell green

Condition 2 =A4<A9
Format cell red


"fredwing" wrote:

Based on an calculated "average" I want to change the color of cells based on
"over" or "under" the average.

ie.
Average in cell A9 is 8
Value in cell A7 is 5
Value in cell A4 is 11
Color of cell A7 to be red and color of cell A4 to be green

Thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Auto change background of color based on formula

Select A4 and A7 and any others you need.

FormatConditional FormattingCondition1Cell Value is:

Less than.............=$A$9 Format to Green Pattern

AddCondition2Cell Value is:

Greater than...........$A$9 Format to Red.

Note the $ signs. They are mandatory to anchor A9 as the condition cell.


Gord Dibben MS Excel MVP


On Wed, 3 Jan 2007 16:00:00 -0800, fredwing
wrote:

Based on an calculated "average" I want to change the color of cells based on
"over" or "under" the average.

ie.
Average in cell A9 is 8
Value in cell A7 is 5
Value in cell A4 is 11
Color of cell A7 to be red and color of cell A4 to be green

Thanks in advance


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
is there a formula to auto change cell colours brenner Excel Discussion (Misc queries) 1 October 2nd 06 12:56 PM
Change font and background color of several cells based on result of a formula Zenaida Excel Discussion (Misc queries) 2 April 27th 06 06:46 PM
Can I auto change text to RED if a user overwrites a formula? rrucksdashel Excel Discussion (Misc queries) 2 September 12th 05 10:10 PM
Change formula for Employee Shift Schedule template Pam Soreide Excel Worksheet Functions 1 September 7th 05 03:10 AM
Cannot change a formula Richard F Excel Discussion (Misc queries) 1 January 18th 05 01:57 AM


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