Laura Roberts
New Member
- Joined
- Jan 23, 2018
- Messages
- 4
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]in[/TD]
[TD]8:00[/TD]
[TD]8:00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]out[/TD]
[TD]12:30[/TD]
[TD]12:15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]in[/TD]
[TD]13:30[/TD]
[TD]13:15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]out[/TD]
[TD]17:30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]total[/TD]
[TD]8:30[/TD]
[TD]6:37[/TD]
[TD]15:37[/TD]
[TD]15:37[/TD]
[/TR]
</tbody>[/TABLE]
function for the first total (in cell B10)=IF(ISBLANK(B6:B9),"0",IF(ISBLANK(B7:B9),NOW()-B6,IF(ISBLANK(B8:B9),B7-B6,IF(ISBLANK(B9),(NOW()-B8)+(B7-B6),(B9-B8)+(B7-B6)))))
(now()=15:37)
Why is the first section (for all blanks being true) not parsing as 0?
<tbody>[TR]
[TD]in[/TD]
[TD]8:00[/TD]
[TD]8:00[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]out[/TD]
[TD]12:30[/TD]
[TD]12:15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]in[/TD]
[TD]13:30[/TD]
[TD]13:15[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]out[/TD]
[TD]17:30[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]total[/TD]
[TD]8:30[/TD]
[TD]6:37[/TD]
[TD]15:37[/TD]
[TD]15:37[/TD]
[/TR]
</tbody>[/TABLE]
function for the first total (in cell B10)=IF(ISBLANK(B6:B9),"0",IF(ISBLANK(B7:B9),NOW()-B6,IF(ISBLANK(B8:B9),B7-B6,IF(ISBLANK(B9),(NOW()-B8)+(B7-B6),(B9-B8)+(B7-B6)))))
(now()=15:37)
Why is the first section (for all blanks being true) not parsing as 0?