1

I am trying to format a cell to be highlighted red if the following conditions are true:

  • the future date associated with that row (which is in a separate cell) is less than 21 days from today, and
  • the cell (which is the one I want to format) contains "no".

1 Answer 1

0

Suppose the dates are in column A, beginning with row 2, and cells to be formatted are in column B. Then you'd use conditional formatting with custom formula

=AND(A2<TODAY()+21, B2="no")

applying it to the range B2:B.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.