Miguelluis
New Member
- Joined
- Jan 29, 2013
- Messages
- 45
Hi
I have the formulas below to look at 3 diferent sheets and count values, is there a way to simplify this and perhaps make the sheet a bit faster?
Cell D =SUMPRODUCT(COUNTIFS(Mel!$E$2:$E$400,C8,Mel!$J$2:$J$400,$B$1))+(COUNTIFS(Lisa!$E$2:$E$400,C8,Lisa!$J$2:$J$400,$B$1))+(COUNTIFS(Emma!$E$2:$E$400,C8,Emma!$J$2:$J$400,$B$1))+(COUNTIFS(Charlotte!$E$2:$E$400,C8,Charlotte!$J$2:$J$400,$B$1))+(COUNTIFS(TBC!$E$2:$E$400,C8,TBC!$J$2:$J$400,$B$1))+(COUNTIFS('TBC2'!$E$2:$E$400,C8,'TBC2'!$J$2:$J$400,$B$1))
Cell E =SUMPRODUCT(COUNTIFS(Mel!$E$2:$E$400,C8,Mel!$J$2:$J$400,$B$2))+(COUNTIFS(Lisa!$E$2:$E$400,C8,Lisa!$J$2:$J$400,$B$2))+(COUNTIFS(Emma!$E$2:$E$400,C8,Emma!$J$2:$J$400,$B$2))+(COUNTIFS(Charlotte!$E$2:$E$400,C8,Charlotte!$J$2:$J$400,$B$2))+(COUNTIFS(TBC!$E$2:$E$400,C8,TBC!$J$2:$J$400,$B$2))+(COUNTIFS('TBC2'!$E$2:$E$400,C8,'TBC2'!$J$2:$J$400,$B$2))
Thank you
I have the formulas below to look at 3 diferent sheets and count values, is there a way to simplify this and perhaps make the sheet a bit faster?
Cell D =SUMPRODUCT(COUNTIFS(Mel!$E$2:$E$400,C8,Mel!$J$2:$J$400,$B$1))+(COUNTIFS(Lisa!$E$2:$E$400,C8,Lisa!$J$2:$J$400,$B$1))+(COUNTIFS(Emma!$E$2:$E$400,C8,Emma!$J$2:$J$400,$B$1))+(COUNTIFS(Charlotte!$E$2:$E$400,C8,Charlotte!$J$2:$J$400,$B$1))+(COUNTIFS(TBC!$E$2:$E$400,C8,TBC!$J$2:$J$400,$B$1))+(COUNTIFS('TBC2'!$E$2:$E$400,C8,'TBC2'!$J$2:$J$400,$B$1))
Cell E =SUMPRODUCT(COUNTIFS(Mel!$E$2:$E$400,C8,Mel!$J$2:$J$400,$B$2))+(COUNTIFS(Lisa!$E$2:$E$400,C8,Lisa!$J$2:$J$400,$B$2))+(COUNTIFS(Emma!$E$2:$E$400,C8,Emma!$J$2:$J$400,$B$2))+(COUNTIFS(Charlotte!$E$2:$E$400,C8,Charlotte!$J$2:$J$400,$B$2))+(COUNTIFS(TBC!$E$2:$E$400,C8,TBC!$J$2:$J$400,$B$2))+(COUNTIFS('TBC2'!$E$2:$E$400,C8,'TBC2'!$J$2:$J$400,$B$2))
Thank you