Hi there, I am using a countifs formula to count all values meeting a variety of conditions - here is an example of what I have used below. You will see that it repeats from $D$24 to $D29 to $D34 and so on. Ideally I would love to create a formula that would allow me to reference these three cells along with cells every 5 rows after that (in the same D column which ends at $179) without having to repeat the whole formula (I almost tried but I keep hitting my character maximum!) I've been scratching my head trying to figure out a way to do this but it seems that Excel won't let you create multiple cell references within an array, only constant values. Is there a way around this?
=COUNTIFS('Client_Demographic 2'!$V$3:$V$50000,T$1,'Client_Demographic 2'!$AC$3:$AC$50000,$G$2,'Client_Demographic 2'!$H$3:$H$50000,"?*",'Client_Demographic 2'!$I$3:$I$50000,"Active",'Client_Demographic 2'!$L$3:$L$50000,0,'Client_Demographic 2'!$M$3:$M$50000,0,'Client_Demographic 2'!$N$3:$N$50000,0,'Client_Demographic 2'!$AA$3:$AA$50000,$D24+COUNTIFS('Client_Demographic 2'!$V$3:$V$50000,T$1,'Client_Demographic 2'!$AC$3:$AC$50000,$G$2,'Client_Demographic 2'!$H$3:$H$50000,"?*",'Client_Demographic 2'!$I$3:$I$50000,"Active",'Client_Demographic 2'!$L$3:$L$50000,0,'Client_Demographic 2'!$M$3:$M$50000,0,'Client_Demographic 2'!$N$3:$N$50000,0,'Client_Demographic 2'!$AA$3:$AA$50000,$D29)+COUNTIFS('Client_Demographic 2'!$V$3:$V$50000,T$1,'Client_Demographic 2'!$AC$3:$AC$50000,$G$2,'Client_Demographic 2'!$H$3:$H$50000,"?*",'Client_Demographic 2'!$I$3:$I$50000,"Active",'Client_Demographic 2'!$L$3:$L$50000,0,'Client_Demographic 2'!$M$3:$M$50000,0,'Client_Demographic 2'!$N$3:$N$50000,0,'Client_Demographic 2'!$AA$3:$AA$50000,$D34) +COUNTIFS('Client_Demographic 2'!$V$3:$V$50000,T$1,'Client_Demographic 2'!$AC$3:$AC$50000,$G$2,'Client_Demographic 2'!$H$3:$H$50000,"?*",'Client_Demographic 2'!$I$3:$I$50000,"Active",'Client_Demographic 2'!$L$3:$L$50000,0,'Client_Demographic 2'!$M$3:$M$50000,0,'Client_Demographic 2'!$N$3:$N$50000,0,'Client_Demographic 2'!$AA$3:$AA$50000,$D39) +COUNTIFS('Client_Demographic 2'!$V$3:$V$50000,T$1,'Client_Demographic 2'!$AC$3:$AC$50000,$G$2,'Client_Demographic 2'!$H$3:$H$50000,"?*",'Client_Demographic 2'!$I$3:$I$50000,"Active",'Client_Demographic 2'!$L$3:$L$50000,0,'Client_Demographic 2'!$M$3:$M$50000,0,'Client_Demographic 2'!$N$3:$N$50000,0,'Client_Demographic 2'!$AA$3:$AA$50000,$D44)
Thanks,
David
Bookmarks