Aug 24 2017
- last edited on
Jul 25 2018
How do I make excel change the colour of a cell depending on a different cells date?
Turn A2 red if - E2 cell is smaller than todays date
Turn A2 yellow with red outline if - E2 cell is equal to todays date
Turn A2 clear if - E2 cell is bigger than the current date
Aug 24 2017 10:18 AM
In your screenshot there is no any date in E2. But in general
Stay on A2, Home->Conditional formatting->Manage rules->New ruke; use for the ruke
Format, apply any formatting you want. After that apply the rule to entire range (e.g. $A$2:$A$10), or keep only A2.
Repeat for each color /condition you'd like to have
Aug 24 2017 08:56 PM - edited Aug 24 2017 08:58 PM
column E does not have dates. Column F does, and so does column H. In the following I assume you want to use the date in column F. Change the formula to use H if you want to.
Repeat the steps and use the formula
and select a yellow fill and red border.
Next, select cell A2 again, click the Format Painter in the home ribbon, then select all other cells below cell A2.
Does that help?
Oct 21 2021 01:30 PM
Do you happen to know how to change the cell colour based on an other cell colour?
IE we have a shipping sheet with user name, address, contact number, items in box, box size, tracking number etc and the tracking number cell column is highlighted a colour based on its delivery (we change it to green once delivered) but we'd like the first cell in the row (or whole row) to also change green showing that whole line is complete.
I cannot find anything to support this
Sep 06 2022 08:46 AM
i would like to be able to move the conditions to different cells.
basically id like to condition all the cells based on their own respective value without having to cell by cell
Nov 20 2022 07:08 PM
How can I make this formula work using specific words instead of a date?@Ingeborg Hawighorst
Nov 21 2022 03:34 AMSolution
Let's say you want to highlight a row if column F contains "Closed".
Use the formula
If you want something different, please provide more detailed information.
Nov 21 2022 06:09 PM