Problem: I am trying to make a dynamic arrayformula countifs that will automatically expand with new rows and columns. The criteria rows and headers are auto populated by unique formulas.
What I have so far:
Headers are from G3:3 (will expand various columns with new data)
Criteria Rows start at A4:A and go down from there (will expand various rows with new data)
Current working formula={ArrayFormula(COUNTIFS('True Rejections (Do Not Modify)'!$B$3:$B,INDIRECT("$A4:$A" & 'Settings (Do Not Modify)'!$B$1+3),'True Rejections (Do Not Modify)'!$C$3:$C,G$3)); ""; SUM(ArrayFormula(COUNTIFS('True Rejections (Do Not Modify)'!$B$3:$B,INDIRECT("$A4:$A" & 'Settings (Do Not Modify)'!$B$1+3),'True Rejections (Do Not Modify)'!$C$3:$C,G$3)))}
The problem with this formula is I have to copy and paste this into each cell under the header (row 4) to make it count.
I've tried modifying G$3 to G$3:3 but I am getting an error of Array arguments to COUNTIFS are of different size.
Image below is a screenshot sorry can't share the live sheet.
The would like to place the formula in the red cell on the YTD Tracker sheet
https://docs.google.com/spreadsheets/d/1Zdm8s-qby7SPRYelLAHmhN46uMROGKhRw8GtfI5nOYg/edit?usp=sharing
=ArrayFormula(SUMPRODUCT(('True Rejections (Do Not Modify)'!$B$3:$B = A4:A12)*('True Rejections (Do Not Modify)'!$C$3:$C = G3:M3)))
Error: Array arguments to EQ are of different size – wjwelch1