Forum Discussion
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
- 123StatsCopper ContributorOMG I am taking stats on-line. Never used excel before last week. I need to change datasheet into a chart/graph. HELP!!
Please post that as a new question instead of as a reply in an existing one.
- SergeiBaklanDiamond Contributor
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.
- Natalie907Copper Contributor
See the attached version.
Click in J2 and select Conditional Formatting > Manage Rules... to view the conditional formatting rule.
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.