Data transfer from rows to columns

chadski778

Active Member
Joined
Mar 14, 2010
Messages
297
I have a large spreadsheet from A1:AO1600. Within the spreadsheet there are 3 columns of interest (GPC Code, FORM CODE and SP NAME). There are duplicate rows in which GPC Code and FORM CODE are the same but SP NAME is different. For these rows I would like the different SP NAMEs to be moved to the end columns of the top entry and the rest of the duplicate rows deleted. I have added a spreadsheet capture to help you understand.

Excel Workbook
ABCDEFGHIJKL
1
2FROMTO
3
4Column AColumn MColumn AMColumn AColumn MColumn AMNext empty column to right of last column of tableNext columnNext columnNext columnNext column
5GPC CodeFORM CODESP NAMEGPC CodeFORM CODESP NAMESP NAME 1SP NAME 2SP NAME 3SP NAME 4SP NAME 5
6GB100604140003442737Advance 4T AJ 10W-30 for Astra (SL/MA)GB100604140003442737Advance 4T AJ 10W-30 for Astra (SL/MA)Advance 4T AX5 10W-30 (SL/MA)
7GB100604140003442737Advance 4T AX5 10W-30 (SL/MA)GB100562140002088852MotoMaster Formula1 10W-40 Motorcycle Oil(SJ/JASO MA)MotoMaster Formula1 ATV 10W-40(SJ/JASO MA)MotoMaster Formula1 ATV 10W-40(SJ/JASO MA)
8GB100562140002088852MotoMaster Formula1 10W-40 Motorcycle Oil(SJ/JASO MA)GB100503140002084451FormulaShell ATF Type FMM ATF Type FPzl ATF Type FQS ATF Type FSuper Tech ATF Type FSupra Tech ATF Type F
9GB100562140002088852MotoMaster Formula1 ATV 10W-40(SJ/JASO MA)
10GB100562140002088852MotoMaster Formula1 ATV 10W-40(SJ/JASO MA)
11GB100503140002084451FormulaShell ATF Type F
12GB100503140002084451MM ATF Type F
13GB100503140002084451Pzl ATF Type F
14GB100503140002084451QS ATF Type F
15GB100503140002084451Super Tech ATF Type F
16GB100503140002084451Supra Tech ATF Type F
Sheet1
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

Forum statistics

Threads
1,224,602
Messages
6,179,845
Members
452,948
Latest member
UsmanAli786

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