SHUTTEHFACE
Board Regular
- Joined
- Aug 13, 2014
- Messages
- 53
I am using the following to create a schedule that includes breaks and lunches.
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Start[/TD]
[TD]End[/TD]
[TD]8[/TD]
[TD]8.5[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]8.5[/TD]
[TD]17[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]=IF(SUM($C$3:D$3)>=2,0.25,IF(AND(E$2>=$A3,E$2<=$B3),0.5,0))
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The formula is dragged to the right until Row 2 is 24 (24th hour of the day).
The formula keeps returning 0 and I can't figure out why.
Thanks for the help!
M
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]Start[/TD]
[TD]End[/TD]
[TD]8[/TD]
[TD]8.5[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]8.5[/TD]
[TD]17[/TD]
[TD][/TD]
[TD][/TD]
[TD][TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD]=IF(SUM($C$3:D$3)>=2,0.25,IF(AND(E$2>=$A3,E$2<=$B3),0.5,0))
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
The formula is dragged to the right until Row 2 is 24 (24th hour of the day).
The formula keeps returning 0 and I can't figure out why.
Thanks for the help!
M