sobeitchuck
New Member
- Joined
- Sep 14, 2014
- Messages
- 2
I am working on project and ultimately have time values listed in a column in hh:mm:ss format. I have been running through numerous forums and cannot find a similar situation that will help me. I want to build an IF statement that meets this criteria:
If minute value in cell A1 is less than 10 minutes or greater than 45 minutes, display "0", otherwise display 1 if the minutes falls in between 10 and 45 minutes.
Here is a sample of what I want display, just cannot get the formula right...
<tbody>
</tbody>
Here is the formula I started with to have 0 displayed if <10minutes and works:
I tried adding "OR" to the formula to get the other condition of >45minutes to also display 0 ....I am stuck from here.
<time(0,10,0),0,1),l5><time(0,10,0),0,1),(l5<time(0,45,0),0,1,),"") <u=""> THIS DOES NOT WORK
ANY IDEAS?
thanks ahead of time,
sobeitchuck
</time(0,10,0),0,1),(l5<time(0,45,0),0,1,),"")></time(0,10,0),0,1),l5></time(0,10,0),0,1),"")<time(0,10,0),0,1),"")
If minute value in cell A1 is less than 10 minutes or greater than 45 minutes, display "0", otherwise display 1 if the minutes falls in between 10 and 45 minutes.
Here is a sample of what I want display, just cannot get the formula right...
TIMES | TIME IS BETWEEN 10 AND 45 MINUTES (YES/NO) |
00:16:00 | 1 |
00:09:00 | 0 |
00:39:00 | 1 |
01:04:00 | 0 |
01:31:00 | 0 |
00:22:00 | 1 |
00:30:00 | 1 |
<tbody>
</tbody>
Here is the formula I started with to have 0 displayed if <10minutes and works:
Code:
=IF(COUNT(A1),IF(A1<TIME(0,10,0),0,1),"")<time(0,10,0),0,1),"")<time(0,10,0),0,1),"")
I tried adding "OR" to the formula to get the other condition of >45minutes to also display 0 ....I am stuck from here.
Code:
=IF(COUNT(A1),IF(A1(OR<TIME(0,10,0),0,1),<TIME(0,45,0),0,1,"")
ANY IDEAS?
thanks ahead of time,
sobeitchuck
</time(0,10,0),0,1),(l5<time(0,45,0),0,1,),"")></time(0,10,0),0,1),l5></time(0,10,0),0,1),"")<time(0,10,0),0,1),"")
Last edited: