Here's the simplified situation
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Time start[/TD]
[TD]Time End[/TD]
[TD]Duration[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]08:40 AM[/TD]
[TD]08:55 AM[/TD]
[TD]00:15[/TD]
[TD]=COUNTIF(C2:C3,"=0:15")[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]04:20 PM[/TD]
[TD]04:35 PM[/TD]
[TD]00:15[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
PROBLEM:
The countif returns only "1", this kinda puzzles me
I've tried applying *1440 to convert C2 and C3 into number of minutes (changed the Cell Formatting into General)
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Time start[/TD]
[TD]Time End[/TD]
[TD]Duration[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]08:40 AM[/TD]
[TD]08:55 AM[/TD]
[TD]15[/TD]
[TD]=COUNTIF(C2:C3,"=15")[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]04:20 PM[/TD]
[TD]04:35 PM[/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
PROBLEM:
The countif returns "0", err what?
Am I encountering some unknown limitation of countif here?
PURPOSE OF REFERRAL:
I am hoping to get the countif = 2 in the first situation
Many thanks in advance.
ADDITIONAL INFORMATION:
Using INT() in C2 and C3 after *1440 (situation 2) gives 14 and 15
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Time start[/TD]
[TD]Time End[/TD]
[TD]Duration[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]08:40 AM[/TD]
[TD]08:55 AM[/TD]
[TD]00:15[/TD]
[TD]=COUNTIF(C2:C3,"=0:15")[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]04:20 PM[/TD]
[TD]04:35 PM[/TD]
[TD]00:15[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
PROBLEM:
The countif returns only "1", this kinda puzzles me
I've tried applying *1440 to convert C2 and C3 into number of minutes (changed the Cell Formatting into General)
[TABLE="class: grid, width: 500, align: center"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Time start[/TD]
[TD]Time End[/TD]
[TD]Duration[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]08:40 AM[/TD]
[TD]08:55 AM[/TD]
[TD]15[/TD]
[TD]=COUNTIF(C2:C3,"=15")[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]04:20 PM[/TD]
[TD]04:35 PM[/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
PROBLEM:
The countif returns "0", err what?
Am I encountering some unknown limitation of countif here?
PURPOSE OF REFERRAL:
I am hoping to get the countif = 2 in the first situation
Many thanks in advance.
ADDITIONAL INFORMATION:
Using INT() in C2 and C3 after *1440 (situation 2) gives 14 and 15