Excel - Highlighting cells based on days

May 2017




Issue


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

Solution


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


Thanks to rizvisa1 for this tip.

Related


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 (ccm.net).