I need help with an issue I am struggling with. I have a table with two variables. The ID variable is a unique identifier and the Cust_ID field is the customer IDs for the unique ID values. An ID can have one or multiple cust_ids. I want to create a third variable multi_cust_id which lists all cust_id values for each IDs. As you can see in my table below for ID '1' there are two cust_ids so the new multi_cust_id has both cust_ids listed in both lines where ID = 1. They all need a single quote surrounding them and be separated by a comma. So, how do create the multi_cust_id variable? Below is my made up table. Thanks a lot. ID Cust_id multi_cust_id 1 12345 12345', '56789' 1 56789 12345', '56789' 2 23456 23456', '67890', '34567', '78901' 2 67890 23456', '67890', '34567', '78901' 2 34567 23456', '67890', '34567', '78901' 2 78901 23456', '67890', '34567', '78901' 3 35678 35678' 4 54321 54321', '23459', '34557', '54390' 4 23459 54321', '23459', '34557', '54390' 4 34557 54321', '23459', '34557', '54390' 4 54390 54321', '23459', '34557', '54390' 5 34889 34889'
... View more