I've reviewed numerous posts on transposing data but none of them so far deal with a situation quite like this. I've attached a picture that hopefully describes what I'm trying to accomplish better than I can but I'll try; I have 1000's or rows of client account data containing user notes, 1 row for each note. The notes are typically a few sentences in length. Many accounts have numerous notes therefore the same client#/Acct# can appear many times in the data. I need to transpose the data so that each acct# appears only once and the notes are transposed horizontally beside the acct# according to the sequence of the "Other_#" in the column preceding the note. I've tried to show an example below using text as well.
[ATTACH=CONFIG]53337[/ATTACH]
INPUT
CL_NO ACCT# OTHER NOTES
89252 1 1000 Other_1 note1
89252 1 1000 Other_2 note2
89252 1 1001 Other_1 note1
89252 1 1001 Other_2 note2
89252 1 1001 Other_3 note3
89237 1 1002 Other_1 note1
89237 1 1002 Other_2 note2
89237 1 1002 Other_3 note3
89237 1 1002 Other_4 note4
OUTPUT
CL_NO ACCT# Other_1 Other_2 Other_3 Other_4 .....
89252 1000 note1 note2
89252 1001 note1 note2 note3
89252 1002 note1 note2 note3 note4