formula to measure both teams to score win and loss streaks

jim_water

New Member
Joined
Aug 29, 2018
Messages
7
Hi,
I am trying to find the win and loss streaks for set of games to find out whether both teams have scored in match and if so carry it on as a streak.
Thank you
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Upvote 0
Welcome to the forum.

It's really hard to come up with something when we can't see how you have your data organized. Try to print a sample, possibly using one of the screen printer tools (see HTML Maker in my signature).

In the meantime, these links might give you some ideas:

https://www.mrexcel.com/forum/excel-questions/997369-excel-formula-dilemma.html


https://www.mrexcel.com/forum/excel-questions/978269-streaks-current-streak-conditions.html



Hi eric,
how do you mean data organzied?
 
Upvote 0
What does it look like in your workbook? Look at post 6 from the 2nd link above for an example.
 
Upvote 0
What does it look like in your workbook? Look at post 6 from the 2nd link above for an example.[/QUOTE

Column 1 has home team
Column 2 has away team
Column 3 has home goals
Column 4 has away goals
Column 5 has result
Column 6 both teams to score win streak
Column 7 both teams to score loss streak


Appreciate you’re efforts to help a noob, hope this is more help
 
Upvote 0
Home teamaway teamFulltime home goalsFulltime away goalsfulltime resultboth teams to score win streakboth teams to score loss streak
jim unitedjoe city13A10
10H01
00D02

<tbody>
</tbody>
 
Upvote 0
Home teamAway teamFTHGFTAGFTRBoth teams to score win streakBoth teams to score loss streak
liverpoolman united10H01
arsenalchelsea11D10
aston villamanchester city21H20

<tbody>
</tbody>
 
Upvote 0
Much better example!

Try this:

ABCDEFG
1Home teamAway teamFTHGFTAGFTRBoth teams to score win streakBoth teams to score loss streak
2liverpoolman united10H01
3arsenalchelsea11D10
4aston villamanchester city21H20

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
F2=IF(PRODUCT(C2:D2),SUM(F1,1),0)
G2=IF(PRODUCT(C2:D2)=0,SUM(G1,1),0)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>



I'll be away for a few days, but I'll check this when I get back, or someone else may chime in if you have more questions.
 
Upvote 0
Both teams to score
win streak
Both teams to score
loss streak
0
1
11
21

<tbody>
</tbody>
Thanks for the post.
The first one works for F2, but the one for G2 just shows 1's, like so..
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,328
Messages
6,124,295
Members
449,149
Latest member
mwdbActuary

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