Hi All,
I spent hours upon hours experimenting with formulas and searching the internet for answer.
I have data range extracted from our company system with date and time in one row and I'm trying to set the formula not to count a cell where the time is 00:00 (no matter what date)
What I tried that doesn't work:
=COUNTIFS(W:W,"<>"&TIME(0,0,0))
returns 0 result every time
=COUNTIF('Due Out'!$S:$S,"<>"&DATE(YEAR('Due Out'!$S:$S),MONTH('Due Out'!$S:$S),DAY('Due Out'!$S:$S))+TIME(0,0,0))
results in super-huge number, I have no idea why
=COUNTIF(W:W,TRUNC(W:W)-W:W&"=0")
this would probably work using array formula, but I wasn't able to make it work
Example data:
[TABLE="width: 111"]
<tbody>[TR]
[TD="align: right"]42288.53[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.50[/TD]
[/TR]
[TR]
[TD="align: right"]42289.00[/TD]
[/TR]
[TR]
[TD="align: right"]42293.04[/TD]
[/TR]
[TR]
[TD="align: right"]42293.00[/TD]
[/TR]
[TR]
[TD="align: right"]42293.00[/TD]
[/TR]
</tbody>[/TABLE]
This should result in 3...
I spent hours upon hours experimenting with formulas and searching the internet for answer.
I have data range extracted from our company system with date and time in one row and I'm trying to set the formula not to count a cell where the time is 00:00 (no matter what date)
What I tried that doesn't work:
=COUNTIFS(W:W,"<>"&TIME(0,0,0))
returns 0 result every time
=COUNTIF('Due Out'!$S:$S,"<>"&DATE(YEAR('Due Out'!$S:$S),MONTH('Due Out'!$S:$S),DAY('Due Out'!$S:$S))+TIME(0,0,0))
results in super-huge number, I have no idea why
=COUNTIF(W:W,TRUNC(W:W)-W:W&"=0")
this would probably work using array formula, but I wasn't able to make it work
Example data:
[TABLE="width: 111"]
<tbody>[TR]
[TD="align: right"]42288.53[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.00[/TD]
[/TR]
[TR]
[TD="align: right"]42288.50[/TD]
[/TR]
[TR]
[TD="align: right"]42289.00[/TD]
[/TR]
[TR]
[TD="align: right"]42293.04[/TD]
[/TR]
[TR]
[TD="align: right"]42293.00[/TD]
[/TR]
[TR]
[TD="align: right"]42293.00[/TD]
[/TR]
</tbody>[/TABLE]
This should result in 3...
Last edited: