I have been given a list of patient info relating to treatments offered. Its in the form of a new line for each treatment. Some patients have a single treatment, others have multiple treatments. All treatments are identified as either "Primary" for the first treatment, and "Secondary" for all others. I want to display the information as a single line per patient with the Primary treatment in the first column after their personal details and then each successive Secondary treatment in the columns after this. Can anyone advise?