Forum Discussion
Timothy Herndon
Jul 07, 2018Copper Contributor
Color Coding by Date
I am trying to build a spreadsheet that automatically color fills a date cell by whether the date has already past (red), is within 7 days (yellow), or further out than 7 days (white). I've tried us...
SergeiBaklan
Jul 07, 2018Diamond Contributor
Hi Timothy,
In general CF shall work for your case. If you explain in more details which rules you use or , even better, submit some sample file, it'll be easier to answer what's wrong.
- Timothy HerndonJul 07, 2018Copper Contributor
Here's the sheet I was working on. I want dates prior to whatever the current date us to be red, those within 7 days to be yellow, and those more than 7 days out to remain white. It should color code depending on the current day, not the day I'm building it.
- SergeiBaklanJul 07, 2018Diamond Contributor
Hi Timothy,
You need two rules
red one
=($A3<=TODAY())*($A3>1)
where the second part excludes blank cells; for yellow
=($A3<=TODAY()+7)*($A3>1)
Rules are in sequence as above. The rest, i.e. TODAY()+7 will be blank. File is attached.
- Timothy HerndonJul 07, 2018Copper Contributor
Perfect! Thank you very much!!