Forum Discussion

Scooky's avatar
Scooky
Copper Contributor
Jan 27, 2025
Solved

IF Statement? Or conditional formatting... How?

1) Im trying to set excel up so that Column C has the date of a service that has been completed, Column D Im using the formula =EDATE(C2,3) to calculate the due date in 3 months. This is working okay...
  • HansVogelaar's avatar
    Jan 27, 2025

    Queston 1:

    =IF(C2="", "", EDATE(C2, 3))

    Question 2:

    Select D2:D100 or however far down the data extend. D2 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

    =$E2="Yes"

    Click Format...
    Activate the Fill tab.
    Select a fill color.
    Click OK, then click OK again.

Resources