Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Mbtgb
 
Posts: n/a
Default Print IF return "OK" or "NOT OK" in different colors

I am using an IF statement that returns an "OK" or "NOT OK" statement. Can I
get the "OK" to print in Green and the "NOT OK" to print in Red.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default Print IF return "OK" or "NOT OK" in different colors

You can use Conditional Formatting from the Format menu to do
this.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Mbtgb" wrote in message
...
I am using an IF statement that returns an "OK" or "NOT OK"
statement. Can I
get the "OK" to print in Green and the "NOT OK" to print in
Red.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Biff
 
Posts: n/a
Default Print IF return "OK" or "NOT OK" in different colors

Hi!

Try this:

Assume that formula is in cell A1.

Select cell A1
Goto FormatConditional Formatting

Condition 1
Select Formula Is from the drop list
Enter this formula in the little box to the right:

=A1="OK"

Click the Format button
Set the font color to be GREEN

Click OK

Click the Add button

Condition 2
Select Formula Is from the drop list
Enter this formula in the little box to the right:

=A1="Not OK"

Click the Format button
Set the font color to be RED

OK out

Biff

"Mbtgb" wrote in message
...
I am using an IF statement that returns an "OK" or "NOT OK" statement. Can
I
get the "OK" to print in Green and the "NOT OK" to print in Red.



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
Extra Row in Defined Print Area Harry Gordon Excel Discussion (Misc queries) 3 November 14th 05 04:06 AM
why do my documents print in faded colors? jknjo Excel Discussion (Misc queries) 1 September 16th 05 03:01 AM
Want colors on screen, but not when print Meredith Excel Discussion (Misc queries) 4 August 19th 05 10:03 PM
Printing - Have to set print area 1 column further than necessary STUART BISSET Excel Discussion (Misc queries) 0 January 24th 05 08:59 PM
EXCEL - Cannot print borders in color(s) I have selected Mark M Excel Discussion (Misc queries) 0 January 18th 05 04:25 PM


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