Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

If column A=X then copy value of column B

$
0
0

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.


Viewing all articles
Browse latest Browse all 9782

Trending Articles