|
Re: Simplifying a Sumproduct formula
You can of course still use SUMPRODUCT if you prefer ?
=SUMPRODUCT(--ISNUMBER($L$11:$L$52),--($K$11:$K$52="Yes"))
or if you wish to restrict to just 1 to 4
=SUMPRODUCT(--ISNUMBER(MATCH($L$11:$L$52,{1,2,3,4},0)),--($K$11:$K$52="Yes"))
If you want to avoid SUMPRODUCT and Arrays altogether simply use concatenation in another column, eg:
M11: =L11&"@"&K11
copied down
Then
=SUM(COUNTIF($M$11:$M$52,{1,2,3,4}&"@Yes"))
|