I have an array formula for this but use COUNTIFS. For some unexpected reason, i am not able to convert this using SUMPRODUCT. I'll keep trying...