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

enter image description here]

plan/actual

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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -