Formula for Basketball Minutes per Game

fireburtbusto

New Member
Joined
Jan 12, 2018
Messages
2
I know once I see how to do this I am going to kick myself as to how simple it is, but can not figure it out.
I am wanting to calculate how many minutes per game each player play in a basketball game.

I want the Min/Gm column to sum how many minutes during the game each player played. The Clock column shows each time the game clock stops and a substitution is made.


[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[TD]J[/TD]
[/TR]
[TR]
[TD]Clock[/TD]
[TD]Min Interval[/TD]
[TD]Player[/TD]
[TD]Player[/TD]
[TD]Player[/TD]
[TD]Player[/TD]
[TD]Player[/TD]
[TD].....[/TD]
[TD]Player[/TD]
[TD]Min/Gm[/TD]
[/TR]
[TR]
[TD]18:00[/TD]
[TD]5:00[/TD]
[TD]5[/TD]
[TD]15[/TD]
[TD]24[/TD]
[TD]45[/TD]
[TD]55[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]8:30[/TD]
[/TR]
[TR]
[TD]13:00[/TD]
[TD]4:30[/TD]
[TD]5[/TD]
[TD]15[/TD]
[TD]31[/TD]
[TD]45[/TD]
[TD]55[/TD]
[TD][/TD]
[TD]5[/TD]
[TD]9:30[/TD]
[/TR]
[TR]
[TD]8:30[/TD]
[TD]6:30[/TD]
[TD]3[/TD]
[TD]15[/TD]
[TD]31[/TD]
[TD]45[/TD]
[TD]55[/TD]
[TD][/TD]
[TD]15[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2:00[/TD]
[TD]2:00[/TD]
[TD]3[/TD]
[TD]15[/TD]
[TD]24[/TD]
[TD]42[/TD]
[TD]55[/TD]
[TD][/TD]
[TD]24[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]0:00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I was thinking a SUMIF formula, but can't get it to work. Any help would be great.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
[Table="width:, class:grid"][tr][td="bgcolor:#C0C0C0"][/td][td="bgcolor:#C0C0C0"]
A​
[/td][td="bgcolor:#C0C0C0"]
B​
[/td][td="bgcolor:#C0C0C0"]
C​
[/td][td="bgcolor:#C0C0C0"]
D​
[/td][td="bgcolor:#C0C0C0"]
E​
[/td][td="bgcolor:#C0C0C0"]
F​
[/td][td="bgcolor:#C0C0C0"]
G​
[/td][td="bgcolor:#C0C0C0"]
H​
[/td][td="bgcolor:#C0C0C0"]
I​
[/td][td="bgcolor:#C0C0C0"]
J​
[/td][td="bgcolor:#C0C0C0"]
K​
[/td][/tr][tr][td="bgcolor:#C0C0C0"]
1​
[/td][td="bgcolor:#F3F3F3"]
Clock
[/td][td="bgcolor:#F3F3F3"]
Min Interval
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
.....
[/td][td="bgcolor:#F3F3F3"]
Player
[/td][td="bgcolor:#F3F3F3"]
Min/Gm
[/td][td="bgcolor:#F3F3F3"]
[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
2​
[/td][td]
18:00​
[/td][td]
5:00​
[/td][td]
5​
[/td][td]
15​
[/td][td]
24​
[/td][td]
45​
[/td][td]
55​
[/td][td][/td][td]
3​
[/td][td="bgcolor:#E5E5E5"]
8:30​
[/td][td]J2: =SUMPRODUCT(($C$2:$G$5=I2) * $B$2:$B$5)[/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
3​
[/td][td]
13:00​
[/td][td]
4:30​
[/td][td]
5​
[/td][td]
15​
[/td][td]
31​
[/td][td]
45​
[/td][td]
55​
[/td][td][/td][td]
5​
[/td][td="bgcolor:#E5E5E5"]
9:30​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
4​
[/td][td]
8:30​
[/td][td]
6:30​
[/td][td]
3​
[/td][td]
15​
[/td][td]
31​
[/td][td]
45​
[/td][td]
55​
[/td][td][/td][td]
15​
[/td][td="bgcolor:#E5E5E5"]
18:00​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
5​
[/td][td]
2:00​
[/td][td]
2:00​
[/td][td]
3​
[/td][td]
15​
[/td][td]
24​
[/td][td]
42​
[/td][td]
55​
[/td][td][/td][td]
24​
[/td][td="bgcolor:#E5E5E5"]
7:00​
[/td][td][/td][/tr]
[tr][td="bgcolor:#C0C0C0"]
6​
[/td][td]
0:00​
[/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][td][/td][/tr]
[/table]
 
Upvote 0

Forum statistics

Threads
1,223,727
Messages
6,174,148
Members
452,547
Latest member
Schilling

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