Set Formual

B

Bob Phillips

=IF(AND(A1>1,A1<3),1,IF(A1<5,0<"You didn't say what happens when A1 >=5"))

As I said, what about A1>=5, and also A1=3

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
B

Bob Phillips

typo

=IF(AND(A1>1,A1<3),1,IF(A1<5,0,"You didn't say what happens when A1 >=5"))


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)
 
Top