Transpose data from rows to columns

G

Guest

Hi,

I've been checking (and trying) different answers given on the transpose
subject but no avail.

I've received a source file with data in rows like:

EmployeeNumber Field1
1 A
1 B
2 A
3 A
3 B
3 C

I need to manipulate the data to end up with following target table structure

EmployeeNumber Field1 Field2 Fieldd3
1 A B
2 A
3 A B C

Any suggestions will be much appreciated

Thanks
 
G

Guest

Roger,

Thanks for your prompt reply. The code does what I need to do and I'll will
try on my real data.

Please note that the module "denormalize" (denormalize2k.zip) refers to
Table3 in error. It should read "Set rs1 = db.OpenRecordset("Table1") 'table
with old format"


Thanks

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top