Conditional formatting with Date Picker

MarchePR

New Member
Joined
Mar 30, 2023
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
New member, hi!

I have encounter an issue that I can't seem to find a solution online. I currently have conditional formatting for when the due date to change color based on the following:

no fill = no date entered (rule: blank)
fill cell green = due date is 10+ days from today (rule: cell value greater than today+10)
fill cell yellow = due date is 10 or less from today (rule: cell value between today and today+10)
fill cell red = overdue (rule: cell value less than today)

In an attempt to enter dates faster, I inserted a date picker per this website instructions (Want to learn how to add a Date Picker Calendar to Excel?) . Why this method? I'm using a work computer and can't install anything so this was the method I found to bypass the admin restrictions. The date picker works but I lose all my conditional formatting rules; all cells get filled with green as you can see on E10:E11

Can someone help me with a code that where I can keep the date picker and also keep my conditional formatting rules? Appreciate any help
 

Attachments

  • Conditional Formatting with Date Picker.JPG
    Conditional Formatting with Date Picker.JPG
    45.6 KB · Views: 33
  • Conditional Formatting without Date Picker.JPG
    Conditional Formatting without Date Picker.JPG
    105 KB · Views: 30

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
I'd start by making sure the picker returns date values and not text. It might have been obvious in your pic if you hadn't centered the values. Text would align left, dates and numbers, right.
 
Upvote 0

Forum statistics

Threads
1,214,927
Messages
6,122,311
Members
449,080
Latest member
jmsotelo

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