Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 460
Default Condtional Formatting, Cell Upon Cell

A co-worker wants to color-code a summation cell, so that if ALL of the cells
in that row are GREEN (i.e., in compliance or above the goal), then the
right-hand cell will be GREEN or "YES". If any cells are rated YELLOW, or
marginal, then the final cell will also be YELLOW or marginal. If any cells
are RED, then the final cell will coded RED or say "NO". (We can use
Conditional Formatting to color the result cells after-the-fact if need be.
She would prefer to use stoplight symbols, GREEN-YELLOW-RED in the right-hand
column and to sort by them if possible). Is this possible - (with a
reasonable amount of effort)? So far, I have tested IF statements, AND
statements and LOOKUP statements without success.
DOUG
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Condtional Formatting, Cell Upon Cell

For this example, lets presume your actually looking for the words "red"
"green" and "yellow"

Condition 1:
=COUNTIF(A2:G2,"red")0
format red

Condition 2:
=COUNTIF(A2:G2,"yellow")0

condition 3:
=COUNTIF(A2:G2,"green")=7
format green (where 7 is equal to number of cells you are checking)

Obviously, you can change the COUNTIF function to depend on your actual
criteria.
For the wording of the cell, simply combine these into
=IF(COUNTIF(A2:G2,"red")0,"No",IF(COUNTIF(A2:G2," yellow")0,"Marginal",IF(COUNTIF(A2:G2,"green")=7, "Yes","Did not meet any crtieria")))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DOUG" wrote:

A co-worker wants to color-code a summation cell, so that if ALL of the cells
in that row are GREEN (i.e., in compliance or above the goal), then the
right-hand cell will be GREEN or "YES". If any cells are rated YELLOW, or
marginal, then the final cell will also be YELLOW or marginal. If any cells
are RED, then the final cell will coded RED or say "NO". (We can use
Conditional Formatting to color the result cells after-the-fact if need be.
She would prefer to use stoplight symbols, GREEN-YELLOW-RED in the right-hand
column and to sort by them if possible). Is this possible - (with a
reasonable amount of effort)? So far, I have tested IF statements, AND
statements and LOOKUP statements without success.
DOUG

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 460
Default Condtional Formatting, Cell Upon Cell

Luke: I am using actual colors and not words. But, the conditional colors
indicate compliance with another cell value on the same spreadsheet. So, I
need an IF statement of some kind to say "If any one of this range of cells
scores in the yellow range of values, color this cell yellow. If any cell is
in the red range of values 0 i.e., below the cut-off for yellow values, color
this cell red". It should be do-able if the IF statement incorporates the
numerical threhold values from elsewhere in the spreadsheet. (The syntax is
still a little bit off. Suggestions are welcome).

Thanks,
DOUG

"Luke M" wrote:

For this example, lets presume your actually looking for the words "red"
"green" and "yellow"

Condition 1:
=COUNTIF(A2:G2,"red")0
format red

Condition 2:
=COUNTIF(A2:G2,"yellow")0

condition 3:
=COUNTIF(A2:G2,"green")=7
format green (where 7 is equal to number of cells you are checking)

Obviously, you can change the COUNTIF function to depend on your actual
criteria.
For the wording of the cell, simply combine these into
=IF(COUNTIF(A2:G2,"red")0,"No",IF(COUNTIF(A2:G2," yellow")0,"Marginal",IF(COUNTIF(A2:G2,"green")=7, "Yes","Did not meet any crtieria")))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DOUG" wrote:

A co-worker wants to color-code a summation cell, so that if ALL of the cells
in that row are GREEN (i.e., in compliance or above the goal), then the
right-hand cell will be GREEN or "YES". If any cells are rated YELLOW, or
marginal, then the final cell will also be YELLOW or marginal. If any cells
are RED, then the final cell will coded RED or say "NO". (We can use
Conditional Formatting to color the result cells after-the-fact if need be.
She would prefer to use stoplight symbols, GREEN-YELLOW-RED in the right-hand
column and to sort by them if possible). Is this possible - (with a
reasonable amount of effort)? So far, I have tested IF statements, AND
statements and LOOKUP statements without success.
DOUG

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 460
Default Condtional Formatting, Cell Upon Cell

Luke: In other words, I am trying to say, "If ANY cell in this range is
greater than this, then..."

DOUG

"DOUG" wrote:

Luke: I am using actual colors and not words. But, the conditional colors
indicate compliance with another cell value on the same spreadsheet. So, I
need an IF statement of some kind to say "If any one of this range of cells
scores in the yellow range of values, color this cell yellow. If any cell is
in the red range of values 0 i.e., below the cut-off for yellow values, color
this cell red". It should be do-able if the IF statement incorporates the
numerical threhold values from elsewhere in the spreadsheet. (The syntax is
still a little bit off. Suggestions are welcome).

Thanks,
DOUG

"Luke M" wrote:

For this example, lets presume your actually looking for the words "red"
"green" and "yellow"

Condition 1:
=COUNTIF(A2:G2,"red")0
format red

Condition 2:
=COUNTIF(A2:G2,"yellow")0

condition 3:
=COUNTIF(A2:G2,"green")=7
format green (where 7 is equal to number of cells you are checking)

Obviously, you can change the COUNTIF function to depend on your actual
criteria.
For the wording of the cell, simply combine these into
=IF(COUNTIF(A2:G2,"red")0,"No",IF(COUNTIF(A2:G2," yellow")0,"Marginal",IF(COUNTIF(A2:G2,"green")=7, "Yes","Did not meet any crtieria")))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"DOUG" wrote:

A co-worker wants to color-code a summation cell, so that if ALL of the cells
in that row are GREEN (i.e., in compliance or above the goal), then the
right-hand cell will be GREEN or "YES". If any cells are rated YELLOW, or
marginal, then the final cell will also be YELLOW or marginal. If any cells
are RED, then the final cell will coded RED or say "NO". (We can use
Conditional Formatting to color the result cells after-the-fact if need be.
She would prefer to use stoplight symbols, GREEN-YELLOW-RED in the right-hand
column and to sort by them if possible). Is this possible - (with a
reasonable amount of effort)? So far, I have tested IF statements, AND
statements and LOOKUP statements without success.
DOUG

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
Condtional Formatting bollard Excel Worksheet Functions 2 April 24th 08 03:16 PM
Cell referencing for condtional formatting Roy Gudgeon Excel Discussion (Misc queries) 3 February 20th 08 09:36 PM
Condtional Formatting PAL Excel Worksheet Functions 11 January 3rd 08 07:34 PM
In Excel is it possible to hide a row condtional upon a cell val.. Louise Excel Discussion (Misc queries) 2 July 22nd 05 03:32 AM
Condtional formatting 68magnolia71 Excel Worksheet Functions 2 April 15th 05 09:46 PM


All times are GMT +1. The time now is 05:13 PM.

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"