Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Conditional Format for one cell based on range

Hello

I need to add conditional formatting to a cell (B1) based on a column of
cells (F27 to F41). The cells contain a pick list of text "Ahead", "On Track"
and "Late". If the cells in the column contains the text "Ahead" or "On
Track" or a mixture of both then B1 should turn green but if any of the cells
contain the text "Late" B1 should turn red. Please could you help.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format for one cell based on range

Try this...

Select cell B1
Goto the menu FormatConditional Formatting
Condition 1
Formula Is: =COUNTIF(F27:F41,"late")
Click the format button
Select the desired style(s)
OK
Click the Add button
Condition 2
Formula Is: =OR(F27:F41="ahead",F27:F41="on track")
Click the format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Sandy82" wrote in message
...
Hello

I need to add conditional formatting to a cell (B1) based on a column of
cells (F27 to F41). The cells contain a pick list of text "Ahead", "On
Track"
and "Late". If the cells in the column contains the text "Ahead" or "On
Track" or a mixture of both then B1 should turn green but if any of the
cells
contain the text "Late" B1 should turn red. Please could you help.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Conditional Format for one cell based on range

Absolutely brilliant, works like a dream thank you very much.

"T. Valko" wrote:

Try this...

Select cell B1
Goto the menu FormatConditional Formatting
Condition 1
Formula Is: =COUNTIF(F27:F41,"late")
Click the format button
Select the desired style(s)
OK
Click the Add button
Condition 2
Formula Is: =OR(F27:F41="ahead",F27:F41="on track")
Click the format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Sandy82" wrote in message
...
Hello

I need to add conditional formatting to a cell (B1) based on a column of
cells (F27 to F41). The cells contain a pick list of text "Ahead", "On
Track"
and "Late". If the cells in the column contains the text "Ahead" or "On
Track" or a mixture of both then B1 should turn green but if any of the
cells
contain the text "Late" B1 should turn red. Please could you help.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Format for one cell based on range

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Sandy82" wrote in message
...
Absolutely brilliant, works like a dream thank you very much.

"T. Valko" wrote:

Try this...

Select cell B1
Goto the menu FormatConditional Formatting
Condition 1
Formula Is: =COUNTIF(F27:F41,"late")
Click the format button
Select the desired style(s)
OK
Click the Add button
Condition 2
Formula Is: =OR(F27:F41="ahead",F27:F41="on track")
Click the format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP


"Sandy82" wrote in message
...
Hello

I need to add conditional formatting to a cell (B1) based on a column
of
cells (F27 to F41). The cells contain a pick list of text "Ahead", "On
Track"
and "Late". If the cells in the column contains the text "Ahead" or
"On
Track" or a mixture of both then B1 should turn green but if any of the
cells
contain the text "Late" B1 should turn red. Please could you help.






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
Conditional Format based on value of another cell [email protected] Excel Worksheet Functions 5 August 7th 08 02:22 PM
How to conditional format columns in a range based on BlyChris Excel Worksheet Functions 5 July 25th 08 06:10 AM
Conditional format a cell based on another range of cells ked Excel Worksheet Functions 4 January 9th 07 06:44 PM
Conditional Format based on range Dave Excel Discussion (Misc queries) 3 June 5th 06 06:15 AM
how do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM


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