How to count a losing streak followed by winning streak

Trie1977

New Member
Joined
Mar 7, 2022
Messages
22
Office Version
  1. 2019
Platform
  1. Windows
Hi everyone,

I need help on this formula;

Ex. How many times it occurs that a losing streak of 3 is followed by a winning streak of 1

Thank you all so much!

Tony.

STREAK TO STREAK.xlsx
ABCDEFGHIJKLMNOPQR
1How to count a losing streak followed by winning streak
2
3Ex. How many times it occurs that a losing streak of 3 is followed by a winning streak of 1
4
5W/LSTREAKSTREAKSCOUNTSSTREAKS FOLLOWED BY
6W1-80-112HAPPEND 2 TIMES<<<----- HOW TO CALCULATE THIS?
7W2-701-13HAPPEND 3 TIMES
8W3-601-2ETC
9L-1-50-12ETC
10L-2-40
11L-3-32
12W1-22
13W1-15
14W100
15L-117
16W122
17L-131
18W140
19W250
20L-160
21L-270
22L-380
23W190
24L-1
25
Sheet1
Cell Formulas
RangeFormula
F6:F23F6=COUNTIF($B:$B,E6)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Try this, you will probably need to enter it with CSE (CTRL-SHFT-ENTER):
Excel Formula:
=SUM(--(B6:B24&B7:B25="-31"))
 
Upvote 0
Ok, thank you.
I wonder how the formula looks like in another view:

STREAK TO STREAK.xlsx
ABCDEFGHIJKLMNOPQRSTUVW
1
2
3W/LSTREAK12345678910-1-2-3-4-5-6-7-8
4LOSS-1-81
5LOSS-2-7
6LOSS-3-6
7LOSS-4-5
8LOSS-5-4
9LOSS-6-3
10LOSS-7-2
11LOSS-8-1
12WON11
13WON22
14WON43
15LOSS-14
16WON15
17LOSS-16
18WON17
19LOSS-18
20WON19
21LOSS-110
22WON1
23WON2
24WON3STREAK OF -8 FOLLOWED BY A STREAK OF 1, ET CETERA
25LOSS-1
26LOSS-2
27WON1
28WON2
29WON3
30WON4
31
Sheet2
 
Upvote 0
Not really sure what this gets you with the way you have the headers for row and column set up. But I guess it give you trends or something.
but here:

mr excel questions 34.xlsm
ABCDEFGHIJKLMNOPQRSTUVW
1
2
3W/LSTREAK12345678910-1-2-3-4-5-6-7-8
4LOSS-1-8100000000000000000
5LOSS-2-7000000000000000001
6LOSS-3-6000000000000000010
7LOSS-4-5000000000000000100
8LOSS-5-4000000000000001000
9LOSS-6-3000000000000010000
10LOSS-7-2100000000000000000
11LOSS-8-1400000000001000000
12WON11030000000030000000
13WON22002100000000000000
14WON43000100000010000000
15LOSS-14000000000010000000
16WON15000000000000000000
17LOSS-16000000000000000000
18WON17000000000000000000
19LOSS-18000000000000000000
20WON19000000000000000000
21LOSS-110000000000000000000
22WON1
23WON2
24WON3STREAK OF -8 FOLLOWED BY A STREAK OF 1, ET CETERA
25LOSS-1
26LOSS-2
27WON1
28WON2
29WON3
30WON4
Trie1997_2
Cell Formulas
RangeFormula
E4:V21E4=SUM(--($B$6:$B$30&$B$7:$B$31=$D4&E$3))
 
Upvote 0
Solution
Hi, yes you're right. Thank you for your efforts, really appreciated!

Enjoy your day, today we celebrate our freedom here in the Netherlands.
 
Upvote 0
Sorry, but I like to know 1 more thing here.
So now it is looking to the next cell.
What if I want to know let's say, the max of the following winning streak before a new loss occurs?
ex. STREAK OF -8 FOLLOWED BY A STREAK OF 3, ET CETERA

STREAK TO STREAK.xlsx
ABCDEFGHIJKLMNOPQRSTUVW
1
2
3W/LSTREAK12345678910-1-2-3-4-5-6-7-8
4LOSS-1-81
5LOSS-2-7
6LOSS-3-6
7LOSS-4-5
8LOSS-5-4
9LOSS-6-3
10LOSS-7-2
11LOSS-8-1
12WON11
13WON22
14WON33
15LOSS-14
16WON15
17LOSS-16
18WON17
19LOSS-18
20WON19
21LOSS-110
22WON1
23WON2
24WON3ex. STREAK OF -8 FOLLOWED BY A STREAK OF 3, ET CETERA
25LOSS-1
26LOSS-2
27WON1
28WON2
29WON3
30WON4
31
Sheet3
 
Upvote 0

Forum statistics

Threads
1,215,026
Messages
6,122,738
Members
449,094
Latest member
dsharae57

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