Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a command using the IF function that is as follows:
=IF(M3=80,"YES","NO") I would like to be able to add a green background if the YES condition is met and a RED background if the NO condition is met. is there a line of code that will do this. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Use Conditional Formatting with the the formulas:
=$M$3=80 and =$M$3<80 -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings Replace @mailinator.com with @tiscali.co.uk "Lee" wrote in message ... I have a command using the IF function that is as follows: =IF(M3=80,"YES","NO") I would like to be able to add a green background if the YES condition is met and a RED background if the NO condition is met. is there a line of code that will do this. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change the fill color of a cell using an "IF" function | Excel Worksheet Functions | |||
How to change text color in a cell "comment" in Office 2007? | Excel Worksheet Functions | |||
VBA code to "background-color" a cell obtaining a value from Row | Excel Discussion (Misc queries) | |||
inserting a conditional "go to" command on a excel "if" function | Excel Worksheet Functions | |||
=IF(D13="PAID","YES","NO") Can I change fonts colour | Excel Discussion (Misc queries) |