I have an Access (2002) table (Table 1) with the following 6 fields: Product, Manufacturer, Price, 2001_Units, 2002_Units, 2003_Units.
I want to rearrange the data to use into a Pivot table in excel.
In order to have a drop down list for the years in the Pivot table, I want to have the data into a new table layout (Table 2). There is a new field for "Year" and all the units data for the different years will be under the "Units" field. There will be 5 fields: Product, Manufacturer, Price, Year, Units.
What is the best way to do this? I’ll eventually apply this method to a table of data which is much larger and has more fields.
Table 1
Product, Manufacturer, Price, 2001_Units, 2002_Units, 2003_Units
Item 1, Smith & Co, $5.00, 420, 4523, 8626,
Item 2, Henry Associates, $2.00, 2563, 5897, 9231,
Item 3, Link Incorporated, $3.50, 1235, 3596, 5957,
Table 2
Product, Manufacturer, Price, Year, Units,
Item 1, Smith & Co, $5.00, 2001, 420,
Item 2, Henry Associates, $2.00, 2001, 2563,
Item 3, Link Incorporated, $3.50, 2001, 1235,
Item 1, Smith & Co, $5.00, 2002, 4523,
Item 2, Henry Associates, $2.00, 2002, 5897,
Item 3, Link Incorporated, $3.50, 2002, 3596,
Item 1, Smith & Co, $5.00, 2003, 8626,
Item 2, Henry Associates, $2.00, 2003, 9231,
Item 3, Link Incorporated, $3.50, 2003, 5957,
I want to rearrange the data to use into a Pivot table in excel.
In order to have a drop down list for the years in the Pivot table, I want to have the data into a new table layout (Table 2). There is a new field for "Year" and all the units data for the different years will be under the "Units" field. There will be 5 fields: Product, Manufacturer, Price, Year, Units.
What is the best way to do this? I’ll eventually apply this method to a table of data which is much larger and has more fields.
Table 1
Product, Manufacturer, Price, 2001_Units, 2002_Units, 2003_Units
Item 1, Smith & Co, $5.00, 420, 4523, 8626,
Item 2, Henry Associates, $2.00, 2563, 5897, 9231,
Item 3, Link Incorporated, $3.50, 1235, 3596, 5957,
Table 2
Product, Manufacturer, Price, Year, Units,
Item 1, Smith & Co, $5.00, 2001, 420,
Item 2, Henry Associates, $2.00, 2001, 2563,
Item 3, Link Incorporated, $3.50, 2001, 1235,
Item 1, Smith & Co, $5.00, 2002, 4523,
Item 2, Henry Associates, $2.00, 2002, 5897,
Item 3, Link Incorporated, $3.50, 2002, 3596,
Item 1, Smith & Co, $5.00, 2003, 8626,
Item 2, Henry Associates, $2.00, 2003, 9231,
Item 3, Link Incorporated, $3.50, 2003, 5957,