Question : Excel Transpose Mutiple Values

Hello Experts,

I am in need of some assistance in creating a formula or macro to transpose mutiple vertical values into horizontal values.

Basically, If I have 3 rows for a single Location ID (Column A) how can flatten the record to one row with the additional records in columns?

Now
Location ID     Account Number
123456           111123456
123456           111123457
123456           111234568

Goal
Location ID     Acct Number 1       Acct Number 2      Acct Number 3
123456           111123456             111123457            111234568

I have attached an example excel file with 30 rows (my extract has about 25,000 rows so I would prefer a macro over formula). I am learning Excel VBA through experience, but I always have a hard time starting the code.

Can anyone help me out? Thank you in advance!
 
Example Extract File
 

Answer : Excel Transpose Mutiple Values

C:\Users' analogous to 'Documents and Settings' in XP is this right?.

yes
Random Solutions  
 
programming4us programming4us