Could use the multiplicatons, another wat is use a double --
=SUMPRODUCT(--($D$2:$D$12=$A23),--($C$2:$C$12="School"))
see attchement
Could use the multiplicatons, another wat is use a double --
=SUMPRODUCT(--($D$2:$D$12=$A23),--($C$2:$C$12="School"))
see attchement
Looking for great solutions but hate waiting?
Seach this Forum through Google
www.Google.com (e.g. +multiple +IF site:excelforum.com/excel-general/ )
www.Google.com (e.g. +fill +combobox site:excelforum.com/excel-programming/ )
Ave,
Ricardo
The formula you would want for D23 using SUMPRODUCT would be:
=SUMPRODUCT(--($D$2:$D$12=$A23),--($C$2:$C$12=D$21),--(MATCH($A$2:$A$12&"@"&$C$2:$C$12,$A$2:$A$12&"@"&$C$2:$C$12,0)=(ROW($A$2:$A$12)-ROW($A$2)+1)))
copied down
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
Wow
Thanks DonkeyOte
It works
Pretty clever formula. Way beyond my comprehension.
and I was able to extend the formula you posted to work out the Successul "School" Team Types in a District - eg
=SUMPRODUCT(--($D$2:$D$12=$A23),--($C$2:$C$12=D$21),--($E$2:$E$12="Successful"),--(MATCH($A$2:$A$12&"@"&$C$2:$C$12,$A$2:$A$12&"@"&$C$2:$C$12,0)=(ROW($A$2:$A$12)-ROW($A$2)+1)))
Thanks again
Shane
Last edited by shaneb; 04-07-2010 at 11:34 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks