ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditional format (https://www.excelbanter.com/excel-discussion-misc-queries/20249-conditional-format.html)

Kevin

conditional format
 
I would like a cell to turn red if I enter L or PB.
Normally I would use a 2 conditional formats 1 for L and 1 for PB, but I
need more than 3 conditional formats. Is there a way to combine the one for L
and PB?


Dave O

When setting up the conditional format, set condition 1 to "Formula is"
and use a formula like this:
=OR(A1="L",A1="PB",A1="X")
You can set as many conditions as an OR() statement will accommodate:
30.


Kevin

Thanks Dave that worked great.

"Dave O" wrote:

When setting up the conditional format, set condition 1 to "Formula is"
and use a formula like this:
=OR(A1="L",A1="PB",A1="X")
You can set as many conditions as an OR() statement will accommodate:
30.




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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com