I had 2 spreadsheets- both with lists of the same item but containing different information on each item. I have copied and pasted the information together and need to combine information on to one line and delete duplicates. My document is 5 columns wide and about 4,000 rows long.
Column headers are:
Item ID, Item Description, Pack, Qty, Total
Spreadsheet 1 had Item ID, Item Description and Pack.
Spreadsheet 2 had Item ID, Item Description, Qty and Total.
Not every line will have complete information (mostly Pack is missing).
As a simple solution, I can insert a cell in the Pack column and shift everything down 1 space. Would work for most but cannot be guaranteed it is the same for every line (4,000 lines).
Delete duplicate information was not working for me because rows are not completely the same and excel does not define as a “duplicate”. When I narrow the “duplicate” criteria (Item ID only) deletes rows with info and leaves me with blank ones.
Sample:
[TABLE="class: grid, width: 550"]
<tbody>[TR]
[TD]50039[/TD]
[TD]APPLES GALA 12 CT (DI) [/TD]
[TD] [/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]18.4[/TD]
[/TR]
[TR]
[TD]50041[/TD]
[TD]APPLES HONEYCRISP (DI) [/TD]
[TD] [/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]752.2[/TD]
[/TR]
[TR]
[TD]50001[/TD]
[TD]APPLES PEELED SL HARALSON IQF[/TD]
[TD]CS=30 LB[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]50001[/TD]
[TD]APPLES PEELED SL HARALSON IQF [/TD]
[TD] [/TD]
[TD="align: right"]92[/TD]
[TD="align: right"]3938.4[/TD]
[/TR]
[TR]
[TD]59010[/TD]
[TD]APPLESAUCE UNSWEETENED #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]59010[/TD]
[TD]APPLESAUCE UNSWEETENED #10 [/TD]
[TD] [/TD]
[TD="align: right"]38.6667[/TD]
[TD="align: right"]1224.54[/TD]
[/TR]
[TR]
[TD]59001[/TD]
[TD]APRICOT CANNED #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]59001[/TD]
[TD]APRICOT CANNED #10 [/TD]
[TD] [/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]1237.55[/TD]
[/TR]
[TR]
[TD]50028[/TD]
[TD]APRICOTS DRIED (DI) [/TD]
[TD] [/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]142.12[/TD]
[/TR]
[TR]
[TD]67030[/TD]
[TD]ARTICHOKE QTRD #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]67030[/TD]
[TD]ARTICHOKE QTRD #10 [/TD]
[TD] [/TD]
[TD="align: right"]29.83[/TD]
[TD="align: right"]1680.74[/TD]
[/TR]
[TR]
[TD]51534[/TD]
[TD]ARUGULA BABY (DI) [/TD]
[TD] [/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]90.85[/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"></colgroup>[/TABLE]
Column headers are:
Item ID, Item Description, Pack, Qty, Total
Spreadsheet 1 had Item ID, Item Description and Pack.
Spreadsheet 2 had Item ID, Item Description, Qty and Total.
Not every line will have complete information (mostly Pack is missing).
As a simple solution, I can insert a cell in the Pack column and shift everything down 1 space. Would work for most but cannot be guaranteed it is the same for every line (4,000 lines).
Delete duplicate information was not working for me because rows are not completely the same and excel does not define as a “duplicate”. When I narrow the “duplicate” criteria (Item ID only) deletes rows with info and leaves me with blank ones.
Sample:
[TABLE="class: grid, width: 550"]
<tbody>[TR]
[TD]50039[/TD]
[TD]APPLES GALA 12 CT (DI) [/TD]
[TD] [/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]18.4[/TD]
[/TR]
[TR]
[TD]50041[/TD]
[TD]APPLES HONEYCRISP (DI) [/TD]
[TD] [/TD]
[TD="align: right"]12[/TD]
[TD="align: right"]752.2[/TD]
[/TR]
[TR]
[TD]50001[/TD]
[TD]APPLES PEELED SL HARALSON IQF[/TD]
[TD]CS=30 LB[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]50001[/TD]
[TD]APPLES PEELED SL HARALSON IQF [/TD]
[TD] [/TD]
[TD="align: right"]92[/TD]
[TD="align: right"]3938.4[/TD]
[/TR]
[TR]
[TD]59010[/TD]
[TD]APPLESAUCE UNSWEETENED #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]59010[/TD]
[TD]APPLESAUCE UNSWEETENED #10 [/TD]
[TD] [/TD]
[TD="align: right"]38.6667[/TD]
[TD="align: right"]1224.54[/TD]
[/TR]
[TR]
[TD]59001[/TD]
[TD]APRICOT CANNED #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]59001[/TD]
[TD]APRICOT CANNED #10 [/TD]
[TD] [/TD]
[TD="align: right"]35[/TD]
[TD="align: right"]1237.55[/TD]
[/TR]
[TR]
[TD]50028[/TD]
[TD]APRICOTS DRIED (DI) [/TD]
[TD] [/TD]
[TD="align: right"]8[/TD]
[TD="align: right"]142.12[/TD]
[/TR]
[TR]
[TD]67030[/TD]
[TD]ARTICHOKE QTRD #10[/TD]
[TD]CS=6/#10[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]67030[/TD]
[TD]ARTICHOKE QTRD #10 [/TD]
[TD] [/TD]
[TD="align: right"]29.83[/TD]
[TD="align: right"]1680.74[/TD]
[/TR]
[TR]
[TD]51534[/TD]
[TD]ARUGULA BABY (DI) [/TD]
[TD] [/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]90.85[/TD]
[/TR]
</tbody><colgroup><col><col><col><col span="2"></colgroup>[/TABLE]