Concatenate with rows and primary key type scenario?

kate s

New Member
Joined
Jan 7, 2019
Messages
8
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I have a range of participants who all have unique identification numbers and they have taken multiple speaking series classes. These classes are listed on an excel worksheet with different rows. I want to concatenate them all together using the primary key as the unique identifier so that they are not mixed in with other attendees' results.

Example:

Identifier LName FName Speaker Series Class Address
501 Clark Evans Speaking with Heart 15 Mansion Way...
501 Clark Evans Powerful Persuasion 15 Mansion Way
550 Blake Steve Speaking with Heart 25 Anderson Avenue...
550 Blake Steve Motivational Podcasts 25 Anderson Avenue...

I have around 4,000 of these. I want it to be one ID, LName, FName, Class 1, Class 2 and Address, as below:

Identifier LName FName Speaker Series Class Address
501 Clark Evans Speaking with Heart, Powerful Persuassion 15 Mansion Way
550 Blake Steve Speaking with Heart, Motivational Podcasts 25 Anderson Avenue


By doing this, I will cut the list from 4000 rows to maybe 2500 rows. Some speakers have up to five or six classes. I'm not concerned with the size of the Speaker Series column being very wide. This is not an issue. I just have to concatenate those particular rows and get one address per person without duplicates.

Is there a way to do this without using VBA?

Thank you for your help. Much appreciated!

Kate
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I'm not too sure at all that you can do this without some code. However, depending upon the arrangement of your data, maybe a pivot table? Though it would not concatenate your classes. How is your data arranged. What is in what column, etc. Is VBA not an option?
 
Last edited by a moderator:
Upvote 0

Forum statistics

Threads
1,223,882
Messages
6,175,164
Members
452,615
Latest member
bogeys2birdies

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