Here's another one:
=SUMPRODUCT(COUNTIF(INDIRECT(TEXT(41548+{0,7,14,21,28,35,42,49,56,63,70,77},"mmmd")&"!C3"),"P"))
We can shorten it a bit by using a defined name.
Goto the Formulas tab>Define Name
Name: Array
Refers to: ={0,7,14,21,28,35,42,49,56,63,70,77}
OK out
Then the formula becomes:
=SUMPRODUCT(COUNTIF(INDIRECT(TEXT(41548+Array,"mmmd")&"!C3"),"P"))
Bookmarks