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 If Stmt with two colors

How can I use an if stmt to determine values 0 and the results be a RED
"Stop" if 0 and a GREEN "Continue" if <0 ?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default If Stmt with two colors

What happens if it equals 0?
If you want to continue for values equal to 0,
=IF(A10,"Stop","Continue")
If you need them seperated:
=IF(A10, "Stop",IF(A1<0,"Continue"))

Then go to Format - Conditional Format
Set the pattern to red if cell value equals "Stop"
Add condition
Set pattern to green if cell value equals "Continue"
--
Best Regards,

Luke M


"kenny4golf" wrote:

How can I use an if stmt to determine values 0 and the results be a RED
"Stop" if 0 and a GREEN "Continue" if <0 ?

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
Getting error using if then else stmt ub Excel Worksheet Functions 2 September 24th 07 10:48 PM
Rounding down from .9 in an IF stmt GenaM Excel Worksheet Functions 1 August 2nd 06 11:16 PM
if stmt trouble vencopbrass Excel Discussion (Misc queries) 2 February 25th 06 10:57 AM
URGENT need help with if/then stmt. Melissa H. Excel Worksheet Functions 4 October 26th 05 10:08 PM
Commission Calculation with IF Stmt. Shams Excel Worksheet Functions 2 August 10th 05 05:06 PM


All times are GMT +1. The time now is 02:33 AM.

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"