Excel help with formulaes to produce appearance records for weekly football logs

owen3001

New Member
Joined
Jan 7, 2019
Messages
5
Hey i log information for my weekly work football and am trying to automate more of my collection of data. I have a set of data that looks like this:

DateGame No.WinDraw1Draw2LossWin GoalsDraw1 GoalsDraw2 GoalsLoss GoalsWin ScorerDraw1 ScorerDraw2 ScorerLoss Scorer
9 Jan1JamesTodd5130
1PeteJay5101
1ColinRich5110
1ElliotNick5110
1
1
1
16 jan2JamesPete7732
2ColinElliot7722
2PatJay7712
2RichNick7711
2
2
2
23 jan3ElliotJames3121
3NickPete3110
3PatColin3100
3JayBaz3100
3
3

<tbody>
</tbody>

I have a formulae that will tell me how often 2 players play together, (will show example below) but i dont know how to adapt it to be able to say how many times 2 people attended a session.

I would like a similar table as below

Formulae used:
=IF($AP3=AR$2," ",SUM(IF($U$3:$X$233=$AP3,COUNTIFS($T$3:$T$233,$T$3:$T$233,OFFSET($U$3:$X$233,,COLUMN($U$3:$X$233)-MIN(COLUMN($U$3:$X$233)),,1),AR$2))))

Games on same TeamJayNickPeteColin
Jay-310
Nick3-10
Pete11-2
Colin002-

<tbody>
</tbody>

<tbody>
</tbody>


Below is the table id like to be auto generated, only used subset of players so not evenyone plays the same number of games. I want this so i can calculate the percentage of time people are on same team.

Games Appear togetherJayNickPeteColin
Jay-333
Nick3-33
Pete33-3
Colin333-

<tbody>
</tbody>


Thanks for any assistance.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,214,590
Messages
6,120,421
Members
448,961
Latest member
nzskater

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