Conditional Formatting Rule Not Working Properly

LtCmdrData

Board Regular
Joined
Jan 24, 2018
Messages
58
Office Version
  1. 365
Platform
  1. Windows
I'm trying to conditionally format a column based on three criteria. I'm using the AND function to evaluate three different cells in the same row and if all three are "true" then I want to conditionally format the first of those 3 cells. When I run the AND function down the side in a helper column to evaluate I get the answer I am looking for. When I try to apply the exact same formula in the Conditional Formatting Edit the Rule Description I get different results. Some of the results are correct but also it is highlighting cells it shouldn't. Can anyone shed any light on what is going wrong? I'm using Excel 2016. Thanks.
 

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 is the formula & what is the applies to range?
 
Upvote 0
Select the cells you want to highlight

Conditional Formatting
New Rule
Use a formula to determine...

=AND(A1=1,B1=2,C1=3)

Format as required
 
Upvote 0
=AND(H3="LTL",OR(X3=1,X3=2),W3/T3>0.5)

So if all three conditions are met I want it to fill in cell H3 and so on down column H. It is highlight some that it should but not all. It is even highlighting the column heading H1!
 
Upvote 0
What is the Applies to range?
Is it the whole of col H?
 
Upvote 0
Yes except of course the column heading. The data will probably only run down to about row 200 but the report could vary each time.
 
Upvote 0
The applies to range needs to start in H3, other wise you will get the problems that you are experiencing.
If you are unlikely to go past row 200 set the range to $H$3:$H$200
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

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