Forum Discussion

Natalie907's avatar
Natalie907
Copper Contributor
Oct 30, 2020

If 5 days since initial date, turn cell red

Hi there,

 

I'm a beginner when it comes to excel and am needing some resources/guidance.

I need to find a way (I'm not sure whether to use "If" or "conditional") to make the cells in column J to turn red, if the matching cells in column G are more than 5 days apart. Ideally this would be one formula that can apply to all the cells in those column rather than individually applying the formula. 

Any advise would be appreciated! Thank you! 

 

8 Replies

  • 123Stats's avatar
    123Stats
    Copper Contributor
    OMG I am taking stats on-line. Never used excel before last week. I need to change datasheet into a chart/graph. HELP!!
  • SergeiBaklan's avatar
    SergeiBaklan
    Diamond Contributor

    Natalie907 

    You may apply conditional formatting rule to the column "Submit" of the table with rule formula as =$J2>$G2+5.

    If you provide sample file instead of screenshot it'll be easier to illustrate.

  • Natalie907 

    Select J2:J100 (or however far down the data go).

    I will assume that J2 is the active cell in the selection.

    On the Home tab of the ribbon, click Conditional Formatting > New Rule...

    Select 'Format only cells that contain'.

    Leave the first dropdown set to 'Cell Value'.

    Select 'greater than' from the second dropdown.

    Enter the formula =G2+5 in the box next to it.

    Click Format...

    Activate the Fill tab.

    Select red.

    Click OK, then click OK again.

Resources