Explanation
This formula uses the SUMPRODUCT function to sum the result of two expressions that yield arrays.
Notice the result in D15 is the same as the result in G5.
The TIME function is useful when you want to assemble a proper time inside another formula.
COUNTIF can be used to count cells that…