May 24 2023 05:09 AM
Good afternoon,
I am trying to correct some formatting on an excel sheet. I would like the formatting to change the colour of the row when the date is today or older BUT only when one of the columns is empty (ie not released). I have managed so far to get the singular column to change once displaying todays date or older. However, I cannot figure out how to apply this to the row and only apply when the separate release column is empty. I suspect I need an "AND" formula?
A simplified table to illustrate what I'm working with:
Column letter: | F | L |
5 Day Warning | Release Date | |
22-May-23 | 21-May-23 | |
23-May-23 | ||
24-May-23 | ||
25-May-23 |
Current formula: =$F3<=TODAY()
Many thanks for any help :)
May 24 2023 05:24 AM
Enter the following formula in the formula field:
=AND($F1<=TODAY(), $L1="")
This formula checks if the date in column F is today or older ($F1<=TODAY()) and if the release column L is empty ($L1=""). Note that the row number (1) should match the starting row of your selected range.
The conditional formatting will now change the color of the rows where the date in column F is today or older, but only if the corresponding release column L is empty. Adjust the formula and formatting options as needed for your specific requirements.
May 24 2023 05:49 AM - edited May 24 2023 05:49 AM
Perfect, that's worked! Thank you.
I was also wondering if it is possible to apply a formula only when a neighbouring column is populated with a date?
For example:
H | I |
Date off (Day 0) | Expiry Date |
"Date to be entered" | "=H+5" |
May 24 2023 06:12 AM
SolutionMay 25 2023 01:14 AM
Thanks again for your help.
When I enter the above it brings back either "invalid" or "NAME?" in the logical test section. Any idea what I've done wrong?
May 25 2023 01:24 AM
May 31 2023 02:35 AM