Create lists from a match of criteria
Hello I have just moved from excel to numbers and am trying to get a spreadsheet working, which I had in excel.
From the table below you can see that I have names in the left column.
I also have row headers, in this case column B is jump 360 , C is ice skating.
If a pupil would like to go on that particular trip I put a Y in that cell that intersects their name and the activity.
In the highlighted cell what i would like is to now be able to generate a list of names of all pupils who have a Y for that trip.
In excel I used an array formula =IFERROR(INDEX($A$1:$A$166,SMALL(IF(B$1:B$166="Y",ROW(B$1:B$166)),ROW(A4))),"") This worked well as it automatically updated the list of names if a Y was put in the appropriate cell.
Can I do something similar in numbers?
If it is completely different all I want to do is to be able to keep track of which pupils want to go on each trip.
MacBook Pro, OS X El Capitan (10.11)