=SUMPRODUCT(($B$19:$B$5589=B4),SUBTOTAL(109,OFFSET(M19,ROW($M$19:$M$5589)-ROW(M19),0)))
I have the same issue. both work in excel and not GS. The one above totals $$$, while below counts rows.
ErrorSUMPRODUCT has mismatched range sizes. Expected row count: 5483. column count: 1. Actual row count: 1, column count: 1.
=SUMPRODUCT(SUBTOTAL(3,OFFSET(B19:B5592,ROW(B19:B5592)-MIN(ROW(B19:B5592)),,1,)),N(B19:B5592=H4))
ErrorSUMPRODUCT has mismatched range sizes. Expected row count: 1. column count: 1. Actual row count: 5483, column count: 1.
I have been trying many versions of the formulas and no luck so far for two days. Any help? TY