Conditional formatting
Posted
by
djerry
on Super User
See other posts from Super User
or by djerry
Published on 2011-06-29T06:44:56Z
Indexed on
2011/06/29
8:25 UTC
Read the original article
Hit count: 288
I have a rather annoying format I need to implement. There are 2 cells, both containing a date (cell A and B). B contains a date (24-06-2011). Cell B should be colored if cell A is between a date range, based on cell B. So if cell A lies between cell B - 7 days and cell B - 11 days, then it should be triggered.
So with numbers: If B is 24-06-2011 then the range (which is not in any cell in the spreadsheet) is 13-06-2011 until 17-06-2011. If the date in cell A (let's say 14-06-2011) is in that range, cell B should be colored.
Any ideas?
© Super User or respective owner