microsoft excel 2007

O

OssieMac

The following returns TRUE if A1 is equal to or greater than 2 and equal or
less than 4.

=IF(AND(A1>=2,A1<=4),TRUE,FALSE)
 
B

BoniM

If cell A1 contained number of years:
=IF(AND(A1>=2,A1<4),...

if cell A1 contains a date and you're comparing to todays date:
=IF(AND(TODAY()-A1>=730,TODAY()-A1<1461),...
 
Top