Return multiple deliminated values from lookup

jimbomcmucka

New Member
Joined
Oct 11, 2022
Messages
26
Office Version
  1. 365
Platform
  1. Windows
I have a data table, each row is a single file uploaded to a system. Data includes Name of Uploader (Column A), Department (Column B), Country Uploaded to (Column C). A user can appear on multiple Rows, each with different Countries.

I need to return a value of the country a user has uploaded to, deliminated in a single cell.

Eg. James | England, Scotland, Ireland
David | Germany, France
Steve | USA, Canada

Is this possible?

Thanks in advance!
Jim
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hopefully this will help.

Screenshot 2024-04-05 224941.png


Formula at D2 is:
=ARRAYTOTEXT(UNIQUE(FILTER(C$2:C$8,A$2:A$8=A2,"")))
then copied down to D8

Formula at G2 (only) is:
=UNIQUE(A2:A8)

Formula at H2 (only) is:
=XLOOKUP(G2#,A2:A8,D2:D8,"",0,1)
 
Upvote 1
Solution

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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