Good morning, I have found array formulae "out there" that enable me to count unique values from Column N in a filtered list
and then just the unique values from Column N
What I'd like to be able to do is to add each (calendar) week's data (which can span over two calendar months) to a worksheet and then have a formula in another worksheet that looks at the Month (Column M) and produces a cumulative monthly figure.
I tried just wrapping a SUMPRODUCT around the first formula
Schoolboy error or just overambitious?
In the attached workbook I'm just keeping the formulae on the same sheet for simplicity of testing.
Many thanks,
D€$
which gives me 13.{=SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(N2,ROW(N2:N409)-ROW(N2),,1)),
IF(N2:N409<>"",MATCH("~"&N2:N409,N2:N409&"",0))),ROW(N2:N409)-ROW(N2)+1),1))}
and then just the unique values from Column N
which gives me 55.{=SUM(IF(FREQUENCY(IF(LEN(N2:N409)>0,MATCH(N2:N409,N2:N409,0),""), IF(LEN(N2:N409)>0,MATCH(N2:N409,N2:N409,0),""))>0,1))}
What I'd like to be able to do is to add each (calendar) week's data (which can span over two calendar months) to a worksheet and then have a formula in another worksheet that looks at the Month (Column M) and produces a cumulative monthly figure.
I tried just wrapping a SUMPRODUCT around the first formula
but this gave me 5304{=SUMPRODUCT((SUM(IF(FREQUENCY(IF(SUBTOTAL(3,OFFSET(N2,ROW(N2:N409)-ROW(N2),,1)),
IF(N2:N409<>"",MATCH("~"&N2:N409,N2:N409&"",0))),ROW(N2:N409)-ROW(N2)+1),1)))*(M2:M409=5))}
Schoolboy error or just overambitious?
In the attached workbook I'm just keeping the formulae on the same sheet for simplicity of testing.
Many thanks,
D€$