Conditional Formatting a Date based on Text From another Cell

meaghanW

New Member
Joined
Apr 20, 2022
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hi All,

My end goal is for the date in column C to turn red if the date has passed (overdue) UNLESS the text in column D says Complete.

I have attached a screenshot of a small portion of my table to help:
Screenshot 2022-04-27 110226.jpg


For reference:
I currently have a formula in Column C: =B2+15
I currently have a conditional formatting rule which highlights the row if the text in column D matches Complete: =$D2="Complete"
I currently have a conditional formatting rule which turns the text in column C red if it's overdue: Cell Value < NOW()+30
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Do you want to formta the cell if the date is in te past, or if it less than 30 days from today?
 
Upvote 0
Ok, how about
Excel Formula:
=AND(D2<>"Complete",C2<TODAY(),C2<>"")
 
Upvote 0
Solution
Ok, how about
Excel Formula:
=AND(D2<>"Complete",C2<TODAY(),C2<>"")
Would this get pasted in the cell itself or the conditional formatting box?
Im really new to conditional formatting and appreciate the help!!
 
Upvote 0
It needs to go in conditional formatting, new rule, use a formula & paste the formula in the formula box.
 
Upvote 0
That worked beautifully!
Thank you for your assistance once again! :)
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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