Is there a way to have the formula eliminate the redundancy. Can i specify the set of unique cells in a grouping and have the redundant part simplify to one line and have it repeat to all the unique cells. Like an array but perhaps a reverse array
=ArrayFormula(SUM(IF(OFFSET( $D$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6)) <>"",OFFSET( $F$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6))) +IF(OFFSET( $Y$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6)) <>"",OFFSET($AA$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6))) +IF(OFFSET($DZ$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6)) <>"",OFFSET($EB$97,ROUNDDOWN(COUNT($LD$3:$LD$96)/-6),0,ROUNDDOWN(COUNT($LD$3:$LD$96)/ 6))))
the unique cells are he ones just right of the offset function