Possible IF selection to populate a list

ollyhughes1982

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



I have a workbook in which I keep records of all of my parkruns and associated challenges etc. (Some of you may be familiar with my previous queries whilst developing this workbook). One such type of challenge is completing ’Regions’ all over the world (in this example, ‘East Midlands’ in the UK. In the workbook, this region’s worksheet is called ‘All Completed Runs - EM R (UK)’.



The challenge requires completing all 43 parkruns within the UK region of ‘East Midlands’ and which are a currently an active event. i.e. Within the ‘parkrun Reader Dump’ worksheet (which contains all of the parkrun source data), the following three criteria need to be satisfied:



  • The ‘Country’ (Column D) needs to be ‘United Kingdom’
  • The ‘Region’ (Column L) needs to be ‘East Midlands’
  • The Event needs to be an active one - (Column N - ‘Active Event (Venue)?’) needs to be populated with a ‘1’


At present I just copy / paste the list of parkruns for the region, from the relevant area within the ‘parkrun Reader Dump’ worksheet. So, I just want to automate what I currently do via a manual copy / paste process - which can become quite time consuming, as I have many of these regions in the workbook.



Additionally, I would like them listed alphabetically, as they currently are, in the manually populated version.



I believe the date column should work as it does at present - i.e. Display the first date that I did that particular event, otherwise appear blank.



I’ve highlighted what I think are relevant worksheets in yellow



Link to workbook (One Drive): parkrun Regions Example.xlsx



Apologies the workbook’s large and may take up to a minute to open. - I can’t cut it down in size for this example, as there are so many interlinked worksheets etc. that are required for it to work.



Thanks in advance!



Olly.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Maybe something like
Excel Formula:
=SORT(FILTER('parkrun Reader Dump'!B3:B500,('parkrun Reader Dump'!D3:D500="United Kingdom")*('parkrun Reader Dump'!L3:L500="east midlands")*('parkrun Reader Dump'!N3:N500=1)))
 
Upvote 0
Solution
Yes, this worked great - I just extended the range down to 5003 to include all possible rows and I then get the 44 correct active parkruns for that country and region. I assume that if I want to add in any extra criteria, I can simply just keep adding further *(... onto the formula?

Also, I have some other challenges where I want to search the names for particular sequences of characters. Can I use something for contains rather than equals? For example, there is a chess challenge, so would want to search the parkrun names which contain 'rook', 'knight', 'queen' etc. anywhere within the name.

Thanks for your help.
 
Upvote 0
I assume that if I want to add in any extra criteria, I can simply just keep adding further *(... onto the formula?
That's right.

For the other question you can use isnumber(search
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0
Hi. Do you think you might be able to show an example of how that chess pieces example might work. Struggling with the ISNUMBER formula.

For example, if the name contains 'Rook' or 'Bishop' and the parkrun is in the UK, and is active.

Thanks again.
 
Upvote 0
I have tried this formula (searching for 'Boston parkrun' - as it is in the East Midlands list), but get a value error.

=SORT(FILTER('parkrun Reader Dump'!B3:B5003,('parkrun Reader Dump'!N3:N5003=1)*('parkrun Reader Dump'!O3:O5003=1)*('parkrun Reader Dump'!P3:P5003=1)*('parkrun Reader Dump'!D3:D5003="United Kingdom")*IF(ISNUMBER(SEARCH("Boston parkrun",'parkrun Reader Dump'!B3:B5003)),'parkrun Reader Dump'!B3:B5003,"")))
 
Upvote 0
Is "Boston parkrun" the full name of the event?
 
Upvote 0

Forum statistics

Threads
1,215,446
Messages
6,124,900
Members
449,194
Latest member
JayEggleton

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