ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditional formatting OR formula (https://www.excelbanter.com/excel-discussion-misc-queries/189294-conditional-formatting-formula.html)

SandyB

conditional formatting OR formula
 
=OR(C:C="FLAT",C:C ="2FS",C:C ="3FCH")

Above is the formula I am trying, so column C words Flat, 2FS, or 3FCH will
get yellow highlight in another column cell. However, it now highlights the
entire column yellow, regardless of the text I have in column C. What am I
doing wrong?
--
SandyB

Pete_UK

conditional formatting OR formula
 
Highlight all the cells in column C that you want this to apply to,
with C2 (say) as the active cell. Then Format | Conditional Formatting
and choose Formula Is and then this formula:

=OR($C2="FLAT",$C2 ="2FS",$C2 ="3FCH")

select your format then OK your way out. Excel will automatically
adjust those cell references to C3, C4, C5 etc on different rows.

Hope this helps.

Pete

On May 29, 7:30*pm, SandyB wrote:
=OR(C:C="FLAT",C:C ="2FS",C:C ="3FCH")

Above is the formula I am trying, so column C words Flat, 2FS, or 3FCH will
get yellow highlight in another column cell. However, it now highlights the
entire column yellow, regardless of the text I have in column C. What am I
doing wrong?
--
SandyB




All times are GMT +1. The time now is 05:06 AM.

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