A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Change A2 to $G2 in the formulas in the bottom three rules:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello, I have an excel sheet where I want to include the following formulas:
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Hello, I did exactly what you mentioned except i changed it from 2 to 50 and I get this leaving some cells with no fill blank spots vary from column J to N.
If you could further assist me that would be great!
It did however keep column G red and green regardless of the green formula.
column G is the first column from left to right with dates.
Thank you!
Let's say you want to apply this to rows 2 to 100.
Select these rows. A2 should be the active cell in the selection.
On the Home tab of the ribbon, click Conditional Formatting > New Rule...
Select 'Use a formula to determine which cells to format'.
Enter the formula
=AND(A2<>"", $G2<=TODAY()+7)
Click Format...
Activate the Fill tab.
Select orange as fill color.
Click OK, then click OK again.
Repeat these steps, with the formula
=AND(A2<>"", $G2
and red as fill color.
Repeat them again, with the formula
=AND(A2<>"", $L2<>"")
and green as fill color.
Now, select G2:G100. G2 should be the active cell.
Repeat the steps, with the formula
=AND($G2<>"", $G2<=TODAY()+7)
and orange, and finally with
=AND($G2<>"", $G2
and red.
Column G is the deadline and yes to current date.
Which column contains the deadline? Or is column G the deadline, and should we compare it to the current date?