Hello.
I've searched everything I can find on countifs, array formula, named ranges and cell references and I can't find out why my formula isn't working.
This formula is working:
=SUMPRODUCT(COUNTIFS(E7:F7,{1,2},E12:F12,"X"))
I would like the array {1,2} to be pulled from a cell reference or a named range instead of having it embedded in the formula. So I tried these:
=SUMPRODUCT(COUNTIFS(E7:F7,B11,E12:F12,"X")) where B11 contains {1,2}
And
=SUMPRODUCT(COUNTIFS(E7:F7,Weeks,E12:F12,"X")) where Weeks is a named range referencing B11
I use CSE after entering each of these to get the curly brackets.
Yet neither pull back the correct results (they show a 0 when the correct formula (the first one) would pull back 2.
Solved by M. B. in 16 mins