Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default how do you highlight the result of an IF statement

Hello,

I have a simple If statement that results "PASS" if the statement is
true and "FAIL" if the statement is false. Is there a way that the
result can be automatically highlighted as well. I want "PASS" to be
in Lime green and "FAIL" to be in RED.

Thank you,



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default how do you highlight the result of an IF statement

Hi,

Apply a conditional format to these formula cells

Select on of them and then

Format|Conditional format
Select 'cell value is'
select 'Equal to'
enter Pass in the box and pick your colour

Click ADD and repeat the process for Fail.

Mike

"clipski" wrote:

Hello,

I have a simple If statement that results "PASS" if the statement is
true and "FAIL" if the statement is false. Is there a way that the
result can be automatically highlighted as well. I want "PASS" to be
in Lime green and "FAIL" to be in RED.

Thank you,



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,533
Default how do you highlight the result of an IF statement

Hi

Select the PASS/FAIL cells and goto Format Conditional formatting
Condition 1: Formula is Enter this formula in the next field :
=A1="PASS"

Format as desired. Click Add to enable Condition 2, and repeat as abowe.
(Change A1 to reference first Pass/Fail cell)

Hopes this helps.
....
Per

"clipski" skrev i meddelelsen
...
Hello,

I have a simple If statement that results "PASS" if the statement is
true and "FAIL" if the statement is false. Is there a way that the
result can be automatically highlighted as well. I want "PASS" to be
in Lime green and "FAIL" to be in RED.

Thank you,




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default how do you highlight the result of an IF statement

If you need more help, Debbie tells how to use CF
http://www.contextures.com/xlCondFormat01.html
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"clipski" wrote in message
...
Hello,

I have a simple If statement that results "PASS" if the statement is
true and "FAIL" if the statement is false. Is there a way that the
result can be automatically highlighted as well. I want "PASS" to be
in Lime green and "FAIL" to be in RED.

Thank you,




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default how do you highlight the result of an IF statement

Hi,

In 2007 choose Home, Conditional Formatting, Highlight Cell Rules, Equal to
and type PASS. Change the format as needed from the items on the right.

Repeat the steps above and enter FAIL ...

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"clipski" wrote:

Hello,

I have a simple If statement that results "PASS" if the statement is
true and "FAIL" if the statement is false. Is there a way that the
result can be automatically highlighted as well. I want "PASS" to be
in Lime green and "FAIL" to be in RED.

Thank you,





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
how to highlight result of logical function clipski Excel Discussion (Misc queries) 2 June 24th 09 08:20 PM
How to create an if statement to get a multiple result Joe G Excel Discussion (Misc queries) 0 April 24th 09 09:14 AM
How do I highlight a formula result (IF statment=True) ncgrit Excel Worksheet Functions 1 March 17th 06 06:23 PM
IF statement when formula result is blank Bonnie Excel Worksheet Functions 2 September 1st 05 05:08 PM
IF statement result TazzyDal Excel Worksheet Functions 2 May 10th 05 11:04 PM


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