Access to show duplicates in a row

Closed
PM - Feb 4, 2011 at 06:07 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Feb 5, 2011 at 06:28 AM
Hello,

can someone help with the following please:

Table
==============
Codes ! Accounts !
==============

In the accounts column i have 100 codes, in column accounts i have the accounts that relate to each code. Some codes may have more then 1 account. So the code will show twice with to separate account numbers.

C A
321 466987
321 598654
321 156987

I want to be able to show each code and have the 3 accounts in a row.

C A1 A2 A3
321 466987 598654 156987

Hope you can help.

Thanks in advance!




MS ACCESS 2003
Related:

1 response

venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 811
Feb 5, 2011 at 06:28 AM
hope the data is in excel

copy A2 in some destination cell e.g. A10
select B2 toB4 edit copy (control+c) and goto B10 edit -pasespecial-transpose(at the bottom right in the pste special window)
0