I have a spreadsheet with the following headings
[Name] [Surname]
I want to create a list that is basically "Name | Surname, Surname, Surname".
In my first sheet I will then have data that will for example be
"Jane | Smith""Jane | Doe""Jane | Brown"
And I'm trying to pull through the surnames into one list, if they share the same first name. I've tried =VLOOKUP("Jane",{'Names'!A:A, 'Names'!B:B}, 2, 0) but this is only pulling through the first result and I'm unsure if I can create a list in one cell or if this is not possible at all.
Any help would be appreciated please.