wealthanalyst
New Member
- Joined
- Aug 7, 2009
- Messages
- 8
I need to create the following IF function, and I am not sure how to do it.
IF(X is between Y and Z, then A)
Thanks
IF(X is between Y and Z, then A)
Thanks
Try a formula like
=IF(AND(C1>=A1,C1<=B1),"between","not between")
I have tried this and not sure what I am doing wrong. My formula is:
=IF(AND(A2>=B2,A2<=B2),C2,"1")
My goal is to have "if between these 2 times, then cell C2=1 if true, or 0 if false.
=IF(AND(A2>=B2,A2<=B2),C2="1",0)
I have tried this and not sure what I am doing wrong. My formula is:
=IF(AND(A2>=B2,A2<=B2),C2,"1")
My goal is to have "if between these 2 times, then cell C2=1 if true, or 0 if false.