Most recent 6 values

RedPed

New Member
Joined
Jul 10, 2015
Messages
32
Office Version
  1. 2016
Platform
  1. Windows
I have some football data where I have data for completed matches and also upcoming fixtures.

I would like to show the the number of goals scored by each team form their most recent 6 matches played (note that this will include both home and away matches played by the teams). example screenshot of completed matches below and an example of the upcoming fixtures. Is this possible or do I need to think of another solution?

1691431473247.png
1691431660001.png
 
I can't find any documentation to explain what those curly braces and "" are doing in the FILTER
You were using CHOOSECOLS to choose columns 1, 2 & 4 in one part and columns 1, 3 & 5 in the other. To do that you need to have at least 4 columns in that first part and at least 5 columns in the second part. The { ...} sections were creating those (empty) columns, when the FILTER returned nothing else, so that CHOOSECOLS did not error.
 
Upvote 0

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

Forum statistics

Threads
1,215,069
Messages
6,122,953
Members
449,095
Latest member
nmaske

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