Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default How do I write a conditional "IF" statement to color a group of ce

What is the syntax to write a conditional statement to color a group of cells
red if larger than 50, yellow if between 50 & 20, and green if less than 20?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default How do I write a conditional "IF" statement to color a groupof ce

What about exactly 50 or exactly 20?



mulehead wrote:

What is the syntax to write a conditional statement to color a group of cells
red if larger than 50, yellow if between 50 & 20, and green if less than 20?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default How do I write a conditional "IF" statement to color a group of ce

Hi,

use conditional formatting. Select your group of cells then:-


Format|Conditional format
select cell value is|less than = to 20 and select a colour
Click add for your second and third conditions.

Mike

"mulehead" wrote:

What is the syntax to write a conditional statement to color a group of cells
red if larger than 50, yellow if between 50 & 20, and green if less than 20?

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
Unexpected Result with "If" Logic/Conditional Statement joeu2004 Excel Discussion (Misc queries) 1 July 5th 07 04:40 PM
Unexpected Result with "If" Logic/Conditional Statement Bill Ridgeway Excel Discussion (Misc queries) 1 July 3rd 07 07:07 PM
Can I include a "validation drop down" in a conditional statement? JanW Excel Worksheet Functions 1 June 5th 07 08:50 PM
how do I write an "if then" statement in Excel. eg. If L47 = 0 the dxrok Excel Worksheet Functions 1 August 5th 06 10:28 PM
How do i enable "Group" & "Ungroup" in a protected sheet ruddojo Excel Discussion (Misc queries) 0 June 2nd 06 01:01 AM


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