Does anyone know how to simplify this formula? I am going to have more sheets that will have text names - not just sheet 1, sheet 2, sheet 3, etc. Ideally, it would be great if I could reference the entire group of sheet names and then be able to add more names to the group as I create more sheets. Thank!
=SUMPRODUCT(('Sheet 1'!$A$6:$A$1000=$A8)*('Sheet 1'!$E$5:$ZZ$5=D$5)*('Sheet 1'!$E$6:$ZZ$1000))+SUMPRODUCT(('Sheet 2'!$A$6:$A$1000=$A8)*('Sheet 2'!$E$5:$ZZ$5=D$5)*('Sheet 2'!$E$6:$ZZ$1000))+SUMPRODUCT(('sheet 3'!$A$6:$A$1000=$A8)*('sheet 3'!$E$5:$ZZ$5=D$5)*('sheet 3'!$E$6:$ZZ$1000))+SUMPRODUCT(('sheet 4'!$A$6:$A$1000=$A8)*('sheet 4'!$E$5:$ZZ$5=D$5)*('sheet 4'!$E$6:$ZZ$1000))
=SUMPRODUCT(('Sheet 1'!$A$6:$A$1000=$A8)*('Sheet 1'!$E$5:$ZZ$5=D$5)*('Sheet 1'!$E$6:$ZZ$1000))+SUMPRODUCT(('Sheet 2'!$A$6:$A$1000=$A8)*('Sheet 2'!$E$5:$ZZ$5=D$5)*('Sheet 2'!$E$6:$ZZ$1000))+SUMPRODUCT(('sheet 3'!$A$6:$A$1000=$A8)*('sheet 3'!$E$5:$ZZ$5=D$5)*('sheet 3'!$E$6:$ZZ$1000))+SUMPRODUCT(('sheet 4'!$A$6:$A$1000=$A8)*('sheet 4'!$E$5:$ZZ$5=D$5)*('sheet 4'!$E$6:$ZZ$1000))