conditional formatting error

skittlz

New Member
Joined
Oct 26, 2012
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I'm not trying to do anything 2 complex - just compare 2 dates (due date, last completed date), and highlight everything that is equal to or overdue for calibration. I'm using the formula

Excel Formula:
=AND(isnumber($K2),IsNumber($L2),$L2<=$K2

Unfortunately, its highlighting the cell ABOVE the value i want it to select.

1730145399066.png


What is going ON!?!?!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Conditional formatting always uses the first cell in the range you provided as the basis for how it provides conditional formatting for other cells. So L1 is being chosen as the first cell and your formula states that if the K and L cells in the row (K2 and L2) BELOW are numbers, then L1 should have red fill. So any time a row has an L cell and K cell that are numbers, the L cell in the row ABOVE will contain red fill.
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,154
Members
452,615
Latest member
bogeys2birdies

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