Forum Discussion
Formatting a cell for date range
gethyn.edwards,
Try my following suggested formulas:
For GREEN:
=(A1>=EDATE(TODAY(),-12))*(A1<=EDATE(TODAY(),12))
For RED:
=1-(A1>=EDATE(TODAY(),-12))*(A1<=EDATE(TODAY(),12))
----------------------------
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” Excel MVP – Excel (2009-2018)
ISRAEL
Michael, is it any difference in results compare to MEDIAN?
- Nov 04, 2017
SergeiBaklan wrote:Michael, is it any difference in results compare to MEDIAN?
Nope (maybe a "bit" shorter).
Sorry, I didn't noticed your MEDIAN suggestion nor did I get an E-Mail notifying that someone added a post in a discussion I participated.
Do you know how to switch-on the option to receive notification E-Mails ?
P.S.
Will you accept the following to be a bit more "ink saver" ?
=A1=MEDIAN(EDATE(TODAY(),{-12,12}),A1)
TXS,
Michael- SergeiBaklanNov 04, 2017Diamond Contributor
Hi Michael,
Yes, with array constant it's even better.
As for the notification I'll send you in-private message shortly. No secrets, that's just off-topic for this thread.