Both teams to score odds

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
388
Office Version
  1. 365
Platform
  1. Windows
i want to get the results chance in next game of both teams to score from last 5 games at HOME

im currently using this formula but its returning 200% even tho between them they have only scored 6 times so i imagine im looking for 60%

=SUM(INDEX(b:b,AGGREGATE(14,6,ROW(e5:e500)/(e5:e500="home"),SUM(INDEX(c:c,AGGREGATE(14,6,ROW(e5:e500)/(e5:e500="home"),SEQUENCE(5)))))))


I hope ye can make sence of what im trying to do

Thank you all in advance for help, suggestions and ideas
 

Attachments

  • image_2023-05-03_192340951.png
    image_2023-05-03_192340951.png
    13.6 KB · Views: 9

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
MrExcelPlayground17.xlsx
ABCDEFG
1DateTeam ATeam BblankLocation
23/17/202321home60%
33/18/202300away
43/19/202312home
53/20/202300away
63/21/202323home
73/22/202301away
83/23/202310home
93/24/202311away
103/25/202311home
113/26/202331away
123/27/202312home
133/28/202311away
143/29/202302home
153/30/202301away
163/31/202300home
174/1/202313away
184/2/202301home
194/3/202300away
204/4/202315home
214/5/202312away
Sheet2
Cell Formulas
RangeFormula
G2G2=SUM(--(TAKE(FILTER(Table1[[Team A]:[Team B]],Table1[Location]="home"),-5)>0))/10
A3:A21A3=A2+1
 
Upvote 0
1683207972776.png

This is what i get when i paste the formula is it poss to get a old time formula? thank you so much for your help
 
Upvote 0
Where my formula has "Table1[[Team A]:[Team B]}" and "Table1[Location]" you aught to change that reference to the cells in your data. You don't have a Table 1.

I don't know your row numbers, but you would just change the first one to maybe "B5:C24" and the other to "E5:E24"
 
Upvote 0
Similar idea
Excel Formula:
=SUM(SIGN(TAKE(FILTER(B5:C500,E5:E500="Home"),-5)))*0.1
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,984
Members
449,092
Latest member
Mr Hughes

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