Condition format a row based on a formula

T

Tysmema

I need to conditional format any row in red based on if the date in one cell
is less than 60 days from the date in another cell. What is the formula I
use?
 
M

Max

Tysmema said:
I need to conditional format any row in red based on if the date in one cell
is less than 60 days from the date in another cell. What is the formula I
use?

Assume start/earlier dates in A1 down, end/later dates in B1 down
Select entire sheet, then apply CF using formula is:
=AND(COUNT($A1:$B1),$B1-$A1<60)
Format to taste > OK out

---
 
C

Cimjet

Hi Tysmema
Select the row you like to change colour and >Conditional Format formula is
:eg: =$A$1<$B$1-60
change cell reference to your need.
Regards
Cimjet
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top