Excel - Highlighting cells based on days

December 2016


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.

Related :

This document entitled « Excel - Highlighting cells based on days » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.