Counting the number of Baseball series per team

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,176
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
In baseball, a series refers to two or more consecutive games played between the same two teams. I would like to count per team the number of series played per year. For example BOS there were 6, CHW there were 2 etc, any help would be appreciated!!

Book1
ABCDE
1TmOppExamples
2NYYBOSBOS6
3NYYBOSCHW2
4NYYBOSCIN1
5NYYTOR
6NYYTOR
7NYYTOR
8NYYTOR
9NYYBAL
10NYYBAL
11NYYBAL
12NYYDET
13NYYDET
14NYYDET
15NYYCLE
16NYYCLE
17NYYCLE
18NYYBAL
19NYYBAL
20NYYBAL
21NYYKCR
22NYYKCR
23NYYKCR
24NYYTOR
25NYYTOR
26NYYTOR
27NYYTEX
28NYYTEX
29NYYTEX
30NYYTOR
31NYYTOR
32NYYCHW
33NYYCHW
34NYYCHW
35NYYCHW
36NYYBAL
37NYYBAL
38NYYBAL
39NYYBAL
40NYYCHW
41NYYCHW
42NYYCHW
43NYYBAL
44NYYBAL
45NYYBAL
46NYYTBR
47NYYTBR
48NYYTBR
49NYYTBR
50NYYLAA
51NYYLAA
52NYYLAA
53NYYDET
54NYYDET
55NYYDET
56NYYMIN
57NYYMIN
58NYYMIN
59NYYCHC
60NYYCHC
61NYYCHC
62NYYTBR
63NYYTBR
64NYYTBR
65NYYTOR
66NYYTOR
67NYYTOR
68NYYTBR
69NYYTBR
70NYYTBR
71NYYHOU
72NYYHOU
73NYYHOU
74NYYHOU
75NYYOAK
76NYYOAK
77NYYOAK
78NYYHOU
79NYYCLE
80NYYCLE
81NYYCLE
82NYYPIT
83NYYPIT
84NYYBOS
85NYYBOS
86NYYBOS
87NYYBOS
88NYYCIN
89NYYCIN
90NYYCIN
91NYYBOS
92NYYBOS
93NYYBOS
94NYYHOU
95NYYHOU
96NYYBAL
97NYYBAL
98NYYBAL
99NYYNYM
100NYYNYM
101NYYKCR
102NYYKCR
103NYYKCR
104NYYKCR
105NYYSEA
106NYYSEA
107NYYSEA
108NYYSTL
109NYYSTL
110NYYSTL
111NYYSEA
112NYYSEA
113NYYSEA
114NYYBOS
115NYYBOS
116NYYBOS
117NYYTBR
118NYYTBR
119NYYTBR
120NYYTOR
121NYYTOR
122NYYTOR
123NYYTOR
124NYYNYM
125NYYNYM
126NYYOAK
127NYYOAK
128NYYOAK
129NYYOAK
130NYYLAA
131NYYLAA
132NYYLAA
133NYYTBR
134NYYTBR
135NYYTBR
136NYYMIN
137NYYMIN
138NYYMIN
139NYYMIN
140NYYTBR
141NYYTBR
142NYYTBR
143NYYBOS
144NYYBOS
145NYYMIL
146NYYMIL
147NYYMIL
148NYYPIT
149NYYPIT
150NYYBOS
151NYYBOS
152NYYBOS
153NYYBOS
154NYYTOR
155NYYTOR
156NYYTOR
157NYYBAL
158NYYBAL
159NYYBAL
160NYYTEX
161NYYTEX
162NYYTEX
163NYYTEX
Sheet2
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi,
For cell E2, you can test
Excel Formula:
=SUM(IF(FREQUENCY(IF($B$2:$B$163=D2,ROW($B$2:$B$163)),IF($B$2:$B$163<>D2,ROW($B$2:$B$163)))>=2,1,0))
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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