xaritona89

New Member
Joined
Mar 17, 2018
Messages
35
Hello Friends,
please help me,


How do I calculate the same result, which is next?


for example:
result=What formula to write to count the result

1= How many games have won a step by step?
2 = How many games have you lost in step by step?
3 = How many games have played a draw step?


teamresult-1result-2result-X
arsenal1111X122212X=4=3=1
manchesterXXX2XX1XX111=3=1=3

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
result-1result-2result-X

<tbody>
</tbody>




arsenali - result-1=count result 1, only then 1 is by step by step.==4,

arsenal Won the game 4 times in a row(out of X and 2)
 
Upvote 0
How about


Book1
ABCDEFGHIJKLMNOP
1team12X
2arsenal1111X122212X431
3manchesterXXX2XX1XX111313
Sheet2
Cell Formulas
RangeFormula
N2{=MAX(FREQUENCY(IF($B2:$M2=N$1,COLUMN($B2:$M2)),IF($B2:$M2<>N$1,COLUMN($B2:$M2))))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Hello Friends,
please help me,

O and P write result
count >2 and count<2 ( step by step)
ABCDEFGHIJKLMNOP
1team>2<2
2arsenal13144127655=4=2
3manchester21222354211=3=5

<tbody>
</tbody>
 
Last edited:
Upvote 0
Try


Book1
ABCDEFGHIJKLMNOP
11team22
22arsenal1314412765542
33manchester2122235421135
DataDump
Cell Formulas
RangeFormula
O2{=MAX(FREQUENCY(IF($C2:$M2>O$1,COLUMN($C2:$M2)),IF($C2:$M2<=O$1,COLUMN($C2:$M2))))}
P2{=MAX(FREQUENCY(IF($C2:$M2<=P$1,COLUMN($C2:$M2)),IF($C2:$M2>P$1,COLUMN($C2:$M2))))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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