A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do you highlight the result of an IF statement



 
 
Thread Tools Display Modes
  #1  
Old June 24th, 2009, 07:18 PM posted to microsoft.public.excel.worksheet.functions
clipski
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  
Old June 24th, 2009, 07:24 PM posted to microsoft.public.excel.worksheet.functions
Mike H
external usenet poster
 
Posts: 8,419
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  
Old June 24th, 2009, 07:26 PM posted to microsoft.public.excel.worksheet.functions
Per Jessen
external usenet poster
 
Posts: 686
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  
Old June 24th, 2009, 08:01 PM posted to microsoft.public.excel.worksheet.functions
Bernard Liengme[_2_]
external usenet poster
 
Posts: 1,027
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  
Old June 24th, 2009, 08:05 PM posted to microsoft.public.excel.worksheet.functions
Shane Devenshire[_3_]
external usenet poster
 
Posts: 3,333
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,



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.