Sumproduct & Count formula
On Dec 4, 4:27*pm, VickiMc wrote:
Here is my formula
=SUMPRODUCT(((ColA=3)+(ColA=4)+(ColA=5))*(COUNT(G3 :G52)))
Column G contains either text or numbers.
What I want to achieve is for the formula to count how many
cells in column G contain a number if Column A contains a
3, a 4 or a 5.
Not sure whether ColA is a named range or a single cell. Just to be
clear, does one of the following work for you?
=sumproduct((A1={3,4,5})*isnumber(G3:G52))
=sumproduct((A3:A52={3,4,5})*isnumber(G3:G52))
|