new member..need help calculating # of Wins/Losses

scottwisler

New Member
Joined
Jan 7, 2014
Messages
19
Hello all! thanks in advance for any assistance! I am using Excel 2003 and trying to calculate the number of wins based on a set schedule of 5 game matches as follows: (MATCH - UPS is in A11, etc) I previously only had 3 games and nested if/than,s but since I am in 2003 and now have 2 more games in each matchup, the formula is too long.
MATCH - UPS Game 1Game 2Game 3Game 4Game 5
1 vs 31 3 21 20 21 20 21 20 21 20 21 20
6 vs 86 8 21 20 21 20 21 20 21 20 21 20
5 vs 75 7 21 20 21 20 21 20 21 20 21 20
2 vs 42 4 21 20 21 20 21 20 21 20 21 20
6 vs 76 7 21 20 21 20 21 20 21 20 21 20
5 vs 85 8 21 20 21 20 21 20 21 20 21 20
2 vs 32 3 21 20 21 20 21 20 21 20 21 20
1 vs 41 4 21 20 21 20 21 20 21 20 21 20
1 vs 51 5 21 20 21 20 21 20 21 20 21 20
2 vs 62 6 21 20 21 20 21 20 21 20 21 20
4 vs 84 8 21 20 21 20 21 20 21 20 21 20
3 vs 73 7 21 20 21 20 21 20 21 20 21 20
2 vs 52 5 21 20 21 20 21 20 21 20 21 20
3 vs 83 8 21 20 21 20 21 20 21 20 21 20
1 vs 61 6 21 20 21 20 21 20 21 20 21 20
4 vs 74 7 21 20 21 20 21 20 21 20 21 20
4 vs 64 6 21 20 21 20 21 20 21 20 21 20
1 vs 71 7 21 20 21 20 21 20 21 20 21 20
2 vs 82 8 21 20 21 20 21 20 21 20 21 20
3 vs 53 5 21 20 21 20 21 20 21 20 21 20
2 vs 72 7 21 20 21 20 21 20 21 20 21 20
4 vs 54 5 21 20 21 20 21 20 21 20 21 20
1 vs 81 8 21 20 21 20 21 20 21 20 21 20
3 vs 63 6 21 20 21 20 21 20 21 20 21 20
3 vs 43 4 21 20 21 20 21 20 21 20 21 20
1 vs 21 2 21 20 21 20 21 20 21 20 21 20
5 vs 65 6 21 20 21 20 21 20 21 20 21 20
7 vs 87 8 21 20 21 20 21 20 21 20 21 20

<colgroup><col width="219" style="width: 164pt; mso-width-source: userset; mso-width-alt: 8009;"> <col width="27" style="width: 20pt; mso-width-source: userset; mso-width-alt: 987;" span="2"> <col width="47" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1718;" span="5"> <col width="54" style="width: 41pt; mso-width-source: userset; mso-width-alt: 1974;"> <col width="47" style="width: 35pt; mso-width-source: userset; mso-width-alt: 1718;" span="4"> <tbody>
</tbody>
 
I actually added 2 columns in which I just did "1 " and "2 " with spaces after to avoid cluttering the formulas with the left/right items, but let me give yours a shot...please hold :)
I
t's easier to do two columns than one. From your sample results, team 1 should return 35
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
same thing. Team 8 shows 35 W's, but should be 0. =SUMPRODUCT(--(LEFT(A12:A45,1)="8")+(RIGHT(A12:A45,1)="8"),--(D12:D45>E12:E45)+(F12:F45>G12:G45)+(H12:H45>I12:I45)+(J12:J45>K12:K45)+(L12:L45>M12:M45))
 
Upvote 0
OK, so how would I correctly syntax the addition of the 2 of these: =SUMPRODUCT(--(B12:B45="8 ")+(C12:C45="8 "),--(D12:D45>E12:E45)+(F12:F45>G12:G45)+(H12:H45>I12:I45)+(J12:J45>K12:K45)+(L12:L45>M12:M45)) and this: =SUMPRODUCT(--(B12:B45="8 ")+(C12:C45="8 "),--(D12:D45<E12:E45)+(F12:F45<G12:G45)+(H12:H45<I12:I45)+(J12:J45<K12:K45)+(L12:L45<M12:M45)). that gives me the correct calc, b/c if the 2nd team wins, the <> calc has to be reversed.
 
Upvote 0
OK I think I may have it: =(SUMPRODUCT(--(B12:B45="8 "),--(D12:D45>E12:E45)+(F12:F45>G12:G45)+(H12:H45>I12:I45)+(J12:J45>K12:K45)+(L12:L45>M12:M45)))+(SUMPRODUCT(--(C12:C45="8 "),--(D12:D45<E12:E45)+(F12:F45<G12:G45)+(H12:H45<I12:I45)+(J12:J45<K12:K45)+(L12:L45<M12:M45)))<e12:e45)+(f12:f45<g12:g45)+(h12:h45<i12:i45)+(j12:j45<k12:k45)+(l12:l45<m12:m45)))< html=""></e12:e45)+(f12:f45<g12:g45)+(h12:h45<i12:i45)+(j12:j45<k12:k45)+(l12:l45<m12:m45)))<>
 
Upvote 0
Copy and Paste this in the summary cell for team 8. This "assumes" team numbers in B & C. Make sure B & C are numeric, not text. What is your result?

=SUMPRODUCT(--(B2:B45=1)+(C2:C45=1),--(D2:D45>E2:E45)+(F2:F45>G2:G45)+(H2:H45>I2:I45)+(J2:J45>K2:K45)+(L2:L45>M2:M45))
 
Upvote 0
Thanks but you figured it out on your own. Please be careful with text and numeric when using as a criteria and expra spaces. It may return skewed results.

For my sanity, please try the solution I gave. Thanks!
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top