excel - Plan Date /Actual Date -
how in excel? code??
if plan date (p)
less today
turns red
if plan date (p)
next day
turns orange
if plan date (p)
greater today
noting
if actual date (a)
input plan date (p)
turns green
plan/actual
you can use conditional formatting:
based on example assuming top left cell a1. ctrl + select b1:d1 & b3:d3, click conditional formatting , new rule. click "use formula determine cells format" @ bottom of list , enter following formulas selected range:
=b1<today()-1
& format fill red & bold font
=b1=today()-1
& format fill orange & bold font
=b2<>""
, format fill green & white bold font
use new rule each formula. adjust ranges meet needs.
note: conditional formatting evaluate condition top bottom, if cell meets multiple conditions (ex: date less today , actual date entered) highest conditional formatting rule applied. make sure green fill format @ top.
Comments
Post a Comment