SEQUENCE() function likely needed

ollyhughes1982

Well-known Member
Joined
Nov 27, 2018
Messages
677
Office Version
  1. 365
Platform
  1. MacOS
Hi,

I have the worksheet (‘All Completed Runs - NENDY’) shown in the image (below) and wondered if anyone might be able to help with slight tweak of what is displayed, please? At the moment, I have it displaying all of the Events (Venues) that I haven’t yet ran at, within a 200K radius. However, I’d like to slightly tweak this as it's displaying more results than I'd like; I'd rather just display the next 50 nearest Events (Venues) that I haven't yet ran at, instead.

NENDY by Next 50.jpg


The current formula is as below:

=IFERROR(LET(f,FILTER('parkrun Reader Dump'!B3:J5002,('parkrun Reader Dump'!K3:K5002="")*('parkrun Reader Dump'!N3:N5002=1)*('parkrun Reader Dump'!O3:O5002=1)*('parkrun Reader Dump'!P3:P5002=1)*('parkrun Reader Dump'!AS3:AS5002<>1)*('parkrun Reader Dump'!I3:I5002<200)),SORT(INDEX(f,SEQUENCE(ROWS(f)),{8,9,1}),1)),"")

I’m guessing that I need to remove the ‘*(‘parkrun Reader Dump'!I3:I5002<200)’ part and add in some sort of extra ‘SEQUENCE()’ function, but I haven’t been able to get it to work so far.

I have linked the file here (it’s small and will open quickly): NENDY by Next 50.xlsx

Thanks in advance!

Olly.

Also listed on Excel Forum: SEQUENCE() function likely needed
 
Last edited:

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Just replace ROWS(f) with 50
 
Upvote 0
Solution

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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