Basically I would like to convert the following table
| Name | Team | 
|---|---|
| A | X | 
| B | X | 
| A | Y | 
| B | Z | 
| C | X | 
| A | Z | 
to
| Name | Team | 
|---|---|
| A | X,Y,Z | 
| B | X,Z | 
| C | X | 
It is something like sum(B) group by A but for strings rather than numbers
What kind of Google Sheet formula or Query() can do this? Thanks!
