Calculating W/L - multiple tracks

Hutchcove

New Member
Joined
Feb 22, 2015
Messages
9
Hi, all,

Trying to find a way to explain what I need so bear with me.

My daughter and I have setup 2 marble tracks. We have 5 sets of colors marbles and we want to have mini tournaments (seasons) racing the 5 different colors over 2 tracks.

It is very easy to calculate the W/L as a total using the SUMIF command but I would like some additional statistics (as I enjoy stats in a small way).

If I have 4 columns (A1=track1, B1=Team, C1=W, D1=L (Either a W or L)
vs (A2=track2, B2=Team, C2=W, D2=L (Either a W or L)

I run the entire season, down the rows, with that method. Unsure on how to pick up the Wins for any given team on Track 1 & then on Track 2. After which I would just total them to have the overall standings. I guess the same goes for Losses on each track for each team.

If you need more, please let me know and I will see what I can do to clarify. Thank you all.

Hutchcove & daughter
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Can you provide an example of what the sheet might look like for a season (using made up data).
 
Upvote 0
I think you need to look at the COUNTIFS() function
=COUNTIFS(team-range, team1, track range, track1)
etc
You could reference the team and track, instead of hard coding them
 
Upvote 0
[TABLE="width: 640"]
<colgroup><col width="64" span="6" style="width:48pt"> <col width="64" style="width:48pt"> <col width="64" style="width:48pt"> <col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Team[/TD]
[TD="class: xl64, width: 64"]W[/TD]
[TD="class: xl64, width: 64"]L[/TD]
[TD="class: xl64, width: 64"]%[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"][/TD]
[TD="class: xl64, width: 64"]Track #[/TD]
[TD="class: xl66, width: 64"]Team[/TD]
[TD="class: xl64, width: 64"]W[/TD]
[TD="class: xl64, width: 64"]L[/TD]
[/TR]
[TR]
[TD]Green[/TD]
[TD="class: xl64"]6[/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl65"]0.750[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl65"]0.500[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl64"]4[/TD]
[TD="class: xl65"]0.500[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]5[/TD]
[TD="class: xl65"]0.375[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Purple[/TD]
[TD="class: xl64"]3[/TD]
[TD="class: xl64"]5[/TD]
[TD="class: xl65"]0.375[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Track 1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Team[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]%[/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl63"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Green[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Track 2[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Team[/TD]
[TD="class: xl64"]W[/TD]
[TD="class: xl64"]L[/TD]
[TD]%[/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Green[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Green[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Orange[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Red[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl66"]Yellow[/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl64"]2[/TD]
[TD="class: xl66"]Purple[/TD]
[TD="class: xl64"]1[/TD]
[TD="class: xl64"][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
You cannot upload files here :(

See if you can adapt this...
[Table="width:, class:grid"][tr][td] [/td][td]
H​
[/td][td]
I​
[/td][td]
J​
[/td][td]
K​
[/td][td]
L​
[/td][/tr]
[tr][td]
1​
[/td][td]name[/td][td]Track[/td][td]Name[/td][td]Track[/td][td]Count[/td][/tr]

[tr][td]
2​
[/td][td]aa[/td][td]
1​
[/td][td]aa[/td][td]
1​
[/td][td]
2​
[/td][/tr]

[tr][td]
3​
[/td][td]bb[/td][td]
2​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
4​
[/td][td]cc[/td][td]
3​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
5​
[/td][td]aa[/td][td]
4​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
6​
[/td][td]bb[/td][td]
1​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
7​
[/td][td]cc[/td][td]
2​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
8​
[/td][td]aa[/td][td]
3​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
9​
[/td][td]bb[/td][td]
4​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
10​
[/td][td]cc[/td][td]
1​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td]
11​
[/td][td]aa[/td][td]
1​
[/td][td][/td][td][/td][td][/td][/tr]
[/table]

J and K would be the criteria
L2=COUNTIFS($H$2:$H$11,J2,$I$2:$I$11,K2)
 
Upvote 0
[TABLE="width: 500"]
<tbody>[TR]
[TD]Track name[/TD]
[TD]Team[/TD]
[TD]W[/TD]
[TD]L[/TD]
[TD]DNF[/TD]
[/TR]
[TR]
[TD]Track A[/TD]
[TD]Green[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track B[/TD]
[TD]Red[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track A[/TD]
[TD]Orange[/TD]
[TD][/TD]
[TD]1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track B[/TD]
[TD]Yellow[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like for my standings to shows W/L for each team for any given Track.

That way I take the total from Track A & Track B to have the full standings (regardless of track)
 
Upvote 0
[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[/TR]
[TR]
[TD]Track name[/TD]
[TD]Team[/TD]
[TD]W/L[/TD]
[TD][/TD]
[TD]DNF[/TD]
[/TR]
[TR]
[TD]Track A[/TD]
[TD]Green[/TD]
[TD]W[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track B[/TD]
[TD]Red[/TD]
[TD]L[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track A[/TD]
[TD]Orange[/TD]
[TD]L[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Track B[/TD]
[TD]Yellow[/TD]
[TD]W

[/TD]
[/TR]
</tbody>[/TABLE]
What formula would I need to benifit from this change?

Thanks
 
Upvote 0
Maybe this?
[Table="width:, class:grid"][tr][td] [/td][td]
N​
[/td][td]
O​
[/td][td]
P​
[/td][td]
Q​
[/td][td]
R​
[/td][td]
S​
[/td][/tr]
[tr][td]
1​
[/td][td]Track name[/td][td]Team[/td][td]W/L[/td][td]DNF[/td][td]Track[/td][td]Track A[/td][/tr]

[tr][td]
2​
[/td][td]Track A[/td][td]Green[/td][td]W[/td][td][/td][td]Team[/td][td]Green[/td][/tr]

[tr][td]
3​
[/td][td]Track B[/td][td]Red[/td][td]L[/td][td][/td][td]W/L[/td][td]W[/td][/tr]

[tr][td]
4​
[/td][td]Track A[/td][td]Orange[/td][td]L[/td][td][/td][td]Count[/td][td]
1​
[/td][/tr]

[tr][td]
5​
[/td][td]Track B[/td][td]Yellow[/td][td]W[/td][td][/td][td][/td][td][/td][/tr]
[/table]

S4=COUNTIFS($N$2:$N$5,S1,$O$2:$O$5,S2,$P$2:$P$5,S3)
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,316
Members
452,634
Latest member
cpostell

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