Change Table Structure

Eves123

New Member
Joined
May 8, 2016
Messages
1
Hi,

I'm trying to change my current table structure into a new Table with different columns and I'm wondering if there is any fast way of doing this rather than manually updating each field. (there are over 200 rows to update).

So a little background.
My current Table contains all the Purchase orders against each Customer in the following table structure:

Table Headers: Company ; Date ; Order No; Product1; Product2; Product 3; Product 4;
Row 2 Input data: CompABC; 2/2/15; 2222; 1; 2; 0; 0
Row 3 Input data; CompanyD: 3/4/15; 2212; 0; 0; 1; 0

Basically under each Product Column, if an order is placed from that customer, the qty is placed in that product column. Which as the products increased and the orders increased, its quite hard to keep track.
The New table I've created will remove all the products column, and only 1 product column that is in the list format. and I just select the product in the dropdown list. And I created another qty column against the products similar to below:

New Table header: Company; Date; Order No; Product; Qty;

I'm wondering if there are any codes or formulas to help me do this quickly?

Many Thanks.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Forum statistics

Threads
1,223,060
Messages
6,169,860
Members
452,286
Latest member
noclue2000

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