Conditional Formatting Based On Dates

AMC2

New Member
Joined
Dec 10, 2022
Messages
6
Office Version
  1. 365
Platform
  1. Windows
I'm in O365, and I know this shouldn't be this difficult, but for some reason I'm struggling. I need to format a column based on due dates and % complete.

Column A is % complete, Column B is Due date.

Anything that is 100% complete in Column A, regardless of date, would be green. (Complete)
Anything not 100% complete, and the due date in Column B is within 2 weeks of today's date, would be yellow. (At Risk)
Anything past due would be Red. (OVER DUE)

I've got the first and last highlighting to work using =A1=100%, and then =A1<TODAY(), but I cannot for the life of me figure out how to format the 'at risk' section.

There's got to be a simple solution that I'm just too cross eyed to see at the moment.
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Like this maybe?
Book1
AB
1% CompleteDue Date
2100%4/09/2023
390%16/09/2023
480%3/09/2023
575%29/09/2023
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B5Expression=AND($A2<1,$B2<TODAY())textYES
A2:B5Expression=AND($A2<1,$B2<=(TODAY()+14))textYES
A2:B5Expression=$A2=1textYES
 
Upvote 0
Solution
Worked like a charm, and now I feel stupid for not being able to get such a simple solution! Many thanks!
 
Upvote 0
Worked like a charm, and now I feel stupid for not being able to get such a simple solution! Many thanks!
Don't beat yourself up, we all get mental blocks at times when we've been looking at a problem too hard. Anyhow, happy to help and thanks for the feedback 👍
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
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