Conditional formatting with multiple conditions

pingvin

New Member
Joined
Oct 28, 2017
Messages
15
Hi,

I have an excel sheet and I am trying to apply conditional formatting to the cells in Column $K$9:$K$23.
If the cells in column $L$9:$L$23 contains either "O" or "X".

The criterias and a example:
If cell $K$9 contains a numeric value and the $L$9 contains "O", then do nothing.
If cell $K$9 contains a numeric value and the $L$9 contains "X", then do nothing.
If cell $K$9 doesn't contains a numeric value and the $L$9 contains "X", then fill the cell $K$9 with red color.

I have uploaded a sample file of how I would like the result to look like, you can download the excel file from the link below:
https://www.dropbox.com/s/onra8n59ol0w610/conditional formatting (test).xlsx?dl=0
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
What do you want if K9 contains a number and L9 contains neither O nor X?
 
Upvote 0

Forum statistics

Threads
1,226,114
Messages
6,189,051
Members
453,522
Latest member
Seeker2025

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