Help creating a Macro or Query

Cmac941

New Member
Joined
Aug 9, 2016
Messages
2
Hello Everyone,

I am new to Access and trying to figure out how I can accomplish this project.

Below is my current data in Access. I need to compile the sequenced data based on the duplicates in column LGLOGO with the red arrow but by the sequence of numbers in column LGSEQ first and then column LGSEQ both green arrows.

File.jpg



Below is what I would like the new database to look like. One single record for unique value in LGLOGO but with the data laid out across the row for each step in the sequence. Any help with a code or how to build the Macro or Query would be great as I do not know how or where to start. Thanks!

converted_file.jpg
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hey Cmac, I hate to say it but your images did not come across so unfortunately I cant see what you were talking about to make an educated guess on how to accomplish your task.
 
Upvote 0
Sorry, here is the rough data without the arrows...


LGVENDLGLOGOLGSEQLGPCODLGCSEQLGCCOD
58890H044MOM1ST12
58890H044MOM1ST240
58890H0451ST11
58890H0451ST228
58890H0471ST12
58890H0521FC21
58890H0521FC12
58890H0521FC310
58890H0561ST12
58890H0561ST231
58890H0581ST11
58890H0581ST26
17367FE774BA31
17367FE772LS31
17367FE771LC14
17367FE772LS14
17367FE774BA24
17367FE772LS26
17367FE774BA56
17367FE774BA110
17367FE771LC220
17367FE774BA420
17367FE773RS199

<tbody>
</tbody>

Desired results

LGLOGOLGSEQLGPCODLGCSEQLGCCODLGSEQLGPCODLGCSEQLGCCODLGSEQLGPCODLGCSEQLGCCODLGSEQLGPCODLGCSEQLGCCODLGSEQLGPCODLGCSEQLGCCOD
H044MOM1ST121ST240
H0451ST111ST228
H0521FC121FC211FC310
H0561ST121ST231
H0581ST111ST26
FE771LC141LC220
FE772LS142LS26
FE773RS199
FE774BA1104BA244BA314BA4204BA56

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,221,811
Messages
6,162,109
Members
451,743
Latest member
matt3388

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top