Excel - Highlighting cells based on days


How to highlight cells containing dates under Excel, using these parameters:
  • Previous days = Red
  • Current days = Yellow
  • Upcoming days = Green


Use conditional formatting
you have to enter three formula and choose color for each
=AND(A1<> "", a1<today())   
=a1> today()

Thanks to rizvisa1 for this tip.
Published by deri58. Latest update on January 24, 2013 at 12:32 PM by deri58.
This document, titled "Excel - Highlighting cells based on days," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).
Excel - Data validation formula
Excel - A macro to insert blank rows