Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sansk_23
 
Posts: n/a
Default PIVOT TABLE - Summary Table into a Databasae Table.

If i have a Summary Sheet.1 like

Prod ID / Product Name / Jan / Feb / Mar / Apr / May / June -------
123 Book A 20 30 40 50 60 70
234 Book B 10 20 40 60 30 50

How do i get the Database Table as -
Prod ID / Prod Name / Month / Qty
123 Book A Jan 20
123 Book A Feb 30
123 Book A Mar 40
and so on & so forth.....


AND if i have a similar Summary Sheet having the Product wise Value/Price in
Sheet.2,

how do i have the Database Table as
Prod ID / Prod Name / Month / Value , where value = Sheet.1-Qty x
Sheet.2-Value.

Pls. help
  #2   Report Post  
thecuzin
 
Posts: n/a
Default

That is basicaly the reverse of a pivot table. I would love to know. In MS
Access you could use a union query but I am stumped in excel.

"sansk_23" wrote:

If i have a Summary Sheet.1 like

Prod ID / Product Name / Jan / Feb / Mar / Apr / May / June -------
123 Book A 20 30 40 50 60 70
234 Book B 10 20 40 60 30 50

How do i get the Database Table as -
Prod ID / Prod Name / Month / Qty
123 Book A Jan 20
123 Book A Feb 30
123 Book A Mar 40
and so on & so forth.....


AND if i have a similar Summary Sheet having the Product wise Value/Price in
Sheet.2,

how do i have the Database Table as
Prod ID / Prod Name / Month / Value , where value = Sheet.1-Qty x
Sheet.2-Value.

Pls. help

  #3   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

To reorganize the data, you can use the "unpivot' technique described by
John Walkenbach:

http://j-walk.com/ss/excel/usertips/tip068.htm

Because you have two label columns, you should concatenate them, before
using the above technique. For example, insert a blank column after
Product Name, with a heading, and the formula:

=A2 & "$" & B2

After using the technique, use DataText to Columns, Delimited, to split
the data into separate columns.


sansk_23 wrote:
If i have a Summary Sheet.1 like

Prod ID / Product Name / Jan / Feb / Mar / Apr / May / June -------
123 Book A 20 30 40 50 60 70
234 Book B 10 20 40 60 30 50

How do i get the Database Table as -
Prod ID / Prod Name / Month / Qty
123 Book A Jan 20
123 Book A Feb 30
123 Book A Mar 40
and so on & so forth.....


AND if i have a similar Summary Sheet having the Product wise Value/Price in
Sheet.2,

how do i have the Database Table as
Prod ID / Prod Name / Month / Value , where value = Sheet.1-Qty x
Sheet.2-Value.

Pls. help



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #4   Report Post  
Fred
 
Posts: n/a
Default

Perhaps the transpose worksheet function (see Help) will work?

"sansk_23" wrote:

If i have a Summary Sheet.1 like

Prod ID / Product Name / Jan / Feb / Mar / Apr / May / June -------
123 Book A 20 30 40 50 60 70
234 Book B 10 20 40 60 30 50

How do i get the Database Table as -
Prod ID / Prod Name / Month / Qty
123 Book A Jan 20
123 Book A Feb 30
123 Book A Mar 40
and so on & so forth.....


AND if i have a similar Summary Sheet having the Product wise Value/Price in
Sheet.2,

how do i have the Database Table as
Prod ID / Prod Name / Month / Value , where value = Sheet.1-Qty x
Sheet.2-Value.

Pls. help

  #5   Report Post  
sansk_23
 
Posts: n/a
Default

you can try this :

http://j-walk.com/ss/excel/usertips/tip068.htm

For trying this in MS Access, first one has to design create a similar
database (collection of tables) & then copy the data into the relevant table.
Its a time consuming process. I am looking for some solution in MS EXCEL.

"thecuzin" wrote:

That is basicaly the reverse of a pivot table. I would love to know. In MS
Access you could use a union query but I am stumped in excel.

"sansk_23" wrote:

If i have a Summary Sheet.1 like

Prod ID / Product Name / Jan / Feb / Mar / Apr / May / June -------
123 Book A 20 30 40 50 60 70
234 Book B 10 20 40 60 30 50

How do i get the Database Table as -
Prod ID / Prod Name / Month / Qty
123 Book A Jan 20
123 Book A Feb 30
123 Book A Mar 40
and so on & so forth.....


AND if i have a similar Summary Sheet having the Product wise Value/Price in
Sheet.2,

how do i have the Database Table as
Prod ID / Prod Name / Month / Value , where value = Sheet.1-Qty x
Sheet.2-Value.

Pls. help

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot table, dynamic data formula Excel GuRu Excel Discussion (Misc queries) 3 May 3rd 05 10:45 PM
pivot table YingRui Oliviero Excel Discussion (Misc queries) 1 April 12th 05 12:57 PM
Pivot Table Problems Rachel Gonsior Excel Discussion (Misc queries) 3 March 21st 05 07:24 PM
How do I show summary totals from a pivot table on a bar chart Colleen T Charts and Charting in Excel 5 January 22nd 05 01:41 AM
Problem with Pivot Table Drop-Down Menus Mac Excel Worksheet Functions 4 November 7th 04 01:18 PM


All times are GMT +1. The time now is 10:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"