Conditional Formatting

tobysdhc

Board Regular
Joined
Aug 11, 2015
Messages
56
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. Web
Hello all,

I have two columns.

Column A (2:500) is a due date calculated by a formula
Column B (2:500) is the actual date of completion.

I have conditional formatting in Column A as the date gets closer (yellow 1 month out, orange 1 week out, red this week). The problem is, the conditional formatting is still in effect even if the date completed (column B) is prior to the due date.

Is there a way I can have excel ignore the conditional formatting, for example if B3 >= A3 without having to enter a formula for each of the 500 rows?

Thanks,
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Yes. Please provide the formula you have for the conditional formatting now. If you have one.
 
Upvote 0
You probably just need to include an AND() function in there....
=AND(B3<A3,your-formula)

(keep in mind that all CF needs to work, is for the formula to return TRUE or FALSE, so you only need to structure the formula to return 1 of those)
 
Upvote 0
Check to see if I got this right

To test for the Week range: =OR(AND(A2-TODAY()<8,A2>=TODAY(),B2=""),AND(A2-TODAY()<8,A2>=TODAY(),B2<>"",A2<b2))

To test for the month range:
Code:
=OR(AND(A2<edate(today(),1)+1,a2>=TODAY(),B2=""),AND(A2<edate(today(),1)+1,a2>=TODAY(),B2<>"",A2<B2))<b2))[ code]<edate(today(),1)+1,a2=""><edate(today(),1)+1,a2><b2))
<edate(today(),1)+1,a2><edate(today(),1)+1,a2><b2))


The conditional formatting for the week will need to have "Stop If True" checked.

Jeff</b2))
</edate(today(),1)+1,a2></edate(today(),1)+1,a2></b2))
</edate(today(),1)+1,a2></b2))[></edate(today(),1)+1,a2></edate(today(),1)+1,a2></b2))
 
Last edited:
Upvote 0
looks like most of my formula got left out because of the V sighn....
You probably just need to include an AND() function in there....
=AND(B3 < A3,your-formula)

(keep in mind that all CF needs to work, is for the formula to return TRUE or FALSE, so you only need to structure the formula to return 1 of those)
 
Upvote 0
Week:
Add these two lines together to make a complete formula for the week CF:
=OR(AND(A2-TODAY()<8,A2>=TODAY(),B2=""),
plus the next line
AND(A2-TODAY()<8,A2>=TODAY(),B2<>"",A2<B2))
 
Upvote 0
Month:

Combine the next three lines together to make the complete formula
=OR(AND(A2<EDATE(TODAY(),1)+1

plus

,A2>=TODAY(),B2=""),AND(A2<EDATE(TODAY(),1)+1

plus

,A2>=TODAY(),B2<>"",A2<B2))
 
Last edited:
Upvote 0
The month formula is all messed up

=OR(AND(A2{EDATE(TODAY(),1)+1,A2}=TODAY(),B2=""),AND(A2{EDATE(TODAY(),1)+1,A2}=TODAY(),B2{}"",A2{B2))

Replace all { with less than signs
REplace all } with greater than signs
 
Upvote 0

Forum statistics

Threads
1,215,619
Messages
6,125,875
Members
449,267
Latest member
ajaykosuri

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