Possible ‘IF’ or ‘FILTER’ function required in addition to / replacement of VLOOKUP?

ollyhughes1982

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

Please see screenshots below, re my Excel issue. I currently have a worksheet that gives me a list of parkruns that satisfies all of the conditions described in A2, except for the event (venue) being unique, i.e., the event (venue) hasn’t appeared in then list already. Please can anyone come up with a solution that does exactly the same thing as currently, but with the added criteria that it has to be an event (venue) that hasn’t appeared previously.

Wilson.jpg


Source.jpg


So, these conditions must be met:
  • The value in A1 must appear in the source worksheet
  • When found, show the event name and date for the first appearance of that number
  • The event (venue) must not have already appeared in the list.
I have also included a link to the file, but it is large and can take a while to open:

parkruns - Golden Wilson Index.xlsx

Current formulas are:

- ‘Event (Venue)’: =IFERROR(VLOOKUP(A4,'All Completed Runs'!$B$4:$E$2003,2,FALSE),"")
- ‘Date Completed’: =IFERROR(VLOOKUP(A4,'All Completed Runs'!$B$4:$E$2003,4,FALSE),"")

Thanks in advance.

Olly.
 
Last edited by a moderator:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi all,

I have now resolved this, with the following two formulas:

=IF(A4<>"",INDEX(FILTER('All Completed Runs'!$C$4:$C$2003,('All Completed Runs'!$AO$4:$AO$2003=1)*('All Completed Runs'!$B$4:$B$2003=A4),""),1),"")
=IF(A4<>"",INDEX(FILTER('All Completed Runs'!$E$4:$E$2003,('All Completed Runs'!$AO$4:$AO$2003=1)*('All Completed Runs'!$B$4:$B$2003=A4),""),1),"")

Thanks.
 
Upvote 0
Solution

Forum statistics

Threads
1,214,792
Messages
6,121,612
Members
449,039
Latest member
Mbone Mathonsi

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