How to use OR in Conditional Formatting?

jkeyes

Active Member
Joined
Apr 15, 2003
Messages
343
Sorry, "OR" is too short of a word to search on here and I wasn't finding any threads that discussed this specifically...

I just need to know how to have a cell conditionally formatted so that it formats if another cell's value is x OR y... pretty simple, I'm sure, I've just never done it and can't seem to figure it out.

I'm on Excel 2003, if that makes a difference. Thanks!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Nevermind... the original solution I thought it was (second condition) just wasn't working for some reason but is now... thanks anyway!
 
Upvote 0
If you want to format A1 if B1 is "X" or "Y" then slect A1 and apply conditional formatting using "formula is" option and the formula

=OR(B1="X",B1="Y")
 
Upvote 0

Forum statistics

Threads
1,214,648
Messages
6,120,726
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top