count

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?


[TABLE="class: grid, width: 200, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]team[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]result-1[/TD]
[TD]result-2[/TD]
[TD]result-X[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]arsenal[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]X[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]X[/TD]
[TD]=4[/TD]
[TD]=3[/TD]
[TD]=1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]manchester[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]2[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]1[/TD]
[TD]X[/TD]
[TD]X[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]=3[/TD]
[TD]=1[/TD]
[TD]=3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
[TABLE="class: cms_table_grid, width: 200, align: left"]
<tbody>[TR]
[TD]result-1[/TD]
[TD]result-2[/TD]
[TD]result-X[/TD]
[/TR]
</tbody>[/TABLE]




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)
team
arsenal4
manchester2122342

<tbody>
[TH="align: center"]A[/TH]
[TH="align: center"]B[/TH]
[TH="align: center"]C[/TH]
[TH="align: center"]D[/TH]
[TH="align: center"]E[/TH]
[TH="align: center"]F[/TH]
[TH="align: center"]G[/TH]
[TH="align: center"]H[/TH]
[TH="align: center"]I[/TH]
[TH="align: center"]J[/TH]
[TH="align: center"]K[/TH]
[TH="align: center"]L[/TH]
[TH="align: center"]M[/TH]
[TH="align: center"]N[/TH]
[TH="align: center"]O[/TH]
[TH="align: center"]P[/TH]

[TD="align: center"]1[/TD]

[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]
[TD="align: right"]>2[/TD]
[TD="align: right"]<2[/TD]

[TD="align: center"]2[/TD]

[TD="align: right"]1[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]4[/TD]

[TD="align: right"] 1 [/TD]
[TD="align: right"] 2 [/TD]
[TD="align: right"] 7 [/TD]
[TD="align: right"] 6 [/TD]
[TD="align: right"] 5 [/TD]
[TD="align: right"] 5 [/TD]

[TD="align: right"] =4 [/TD]
[TD="align: right"] =2 [/TD]
[TD="align: right"][/TD]

[TD="align: center"]3[/TD]

[TD="align: right"] 2 [/TD]

[TD="align: right"] 5 [/TD]

[TD="align: right"]1[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"][/TD]
[TD="align: right"] =3 [/TD]
[TD="align: right"] =5 [/TD]
[TD="align: right"][/TD]

</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,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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