Keep an Excel Due-Date Cell Green After a Completion Date Is Entered
Question details
Keep a due-date cell green when a completion date is entered in another cell.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An assessment has a due date in R1 and a completion date in R9.
- Observed behavior
- The due-date cell should display a green fill once R9 contains a completion date.
Identify the due-date cell and the cell where the completion date will be entered. The example below uses R1 for the due date and R9 for the completion date.
Create a Conditional Formatting Rule for the Completion Date
Use a formula to make R1 green whenever R9 is not blank.
In Excel, select cell R1, which contains the due date.
Go to Home > Conditional Formatting > New Rule, and choose Use a formula to determine which cells to format.
In the formula box, enter =NOT(ISBLANK($R$9)). Replace R9 with your completion-date cell if it is different.
Select Format, open the Fill tab, choose green, and click OK to save the format and rule.
If another rule changes R1's fill, go to Home > Conditional Formatting > Manage Rules. Move the completion rule above conflicting rules and select Stop If True for it, then click OK.

Highlight Completed Due Dates in WPS Spreadsheet
Use a formula-based conditional formatting rule in WPS Spreadsheet to turn a due-date cell green when its completion-date cell is populated.
- 1. Open the workbook: Open your workbook in WPS Spreadsheet and select the due-date cell, such as R1.
- 2. Add a formula rule: Go to Home > Conditional Formatting > New Rule and choose the option to use a formula to determine which cells to format.
- 3. Set the condition and color: Enter =NOT(ISBLANK($R$9)), choose a green fill under Format, and confirm the rule.
- 4. Test the result: Enter a completion date in R9 and check that R1 turns green. If another rule overrides it, review the rule order in Conditional Formatting > Manage Rules.

Frequently Asked Questions
Why doesn't the due-date cell turn green when I enter a completion date?
Check that the formula references the correct completion cell and that the rule applies to the due-date cell. In Home > Conditional Formatting > Manage Rules, move the completion rule above conflicting rules and select Stop If True.
Will the green fill disappear if I clear the completion date?
Yes. If you clear the contents of R9, the completion rule becomes false. Any other applicable conditional formatting rules may then determine the fill in R1.
Can I use different cells for the due date and completion date?
Yes. Select your due-date cell when creating the rule, and replace $R$9 in the formula with the address of your completion-date cell.
What if the completion cell contains a formula that displays nothing?
ISBLANK returns false for a cell containing a formula, even if it displays an empty string. To leave the due-date cell unhighlighted when R9 displays an empty string, use =$R$9<>"" as the conditional formatting formula instead.




