Forum Discussion
Advanced Conditional Formatting?
- Apr 17, 2018
Hi Fyse,
Select your dates, in ribbon Conditional formatting, New rule, Use formula...
Add formula
=(EDATE($H5,24)>=TODAY())*(EDATE($H5,21)<=TODAY())
and apply yellow format
Ok and apply
Repeat Conditional formatting -> Manage rule, New rule, etc, but with formula
=(TODAY()>=EDATE($H5,24))
Result is like this
and attached.
Sorry, I was wrong with previous variant of formulas, corrected.
Hi Fyse,
Select your dates, in ribbon Conditional formatting, New rule, Use formula...
Add formula
=(EDATE($H5,24)>=TODAY())*(EDATE($H5,21)<=TODAY())
and apply yellow format
Ok and apply
Repeat Conditional formatting -> Manage rule, New rule, etc, but with formula
=(TODAY()>=EDATE($H5,24))
Result is like this
and attached.
Sorry, I was wrong with previous variant of formulas, corrected.
Hi Sergei,
For the longest time, I couldn't figure out why I was not getting any yellow boxes. I realized in my dates, I did not leave an example for a yellow cell. But, you adjusted the date to show it. Everything works perfectly! Thank you so much for this, I appreciate it!
Fyse
- SergeiBaklanApr 17, 2018Diamond Contributor
You are welcome