scored in last 10 games

Patcheen

Active Member
Joined
Sep 28, 2015
Messages
391
Office Version
  1. 365
Platform
  1. Windows
Im trying to count how many times a goal was scored in last 10 games

the formula i tried using is =COUNTIFS(E6:E28>0,I6:I28,"home",SEQUENCE(10)) but when i press enter it says - "There is a problem with the formula" and wont go any further

any help in solving this would be great - Thank you

Book1
EFGHI
65Home
72Away
82Home
92Home
102Away
112Away
121Home
132Home
140Away
153Away
164Home
172Away
182Home
192Home
201Away
210Home
223Away
232Home
240Away
252Away
264Home
271Away
285Home
Sheet1
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
You don't have labels on your data? Is every two rows one match, or is this the history of one team over all the matches? Which match is the most recent, is row 5 most recent or most distant?
 
Upvote 0
If the last 10 games are the bottom rows, maybe
Excel Formula:
=SUM(SIGN(TAKE(FILTER(E6:E28,I6:I28="home"),-10)))
 
Upvote 1
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

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