+ Reply to Thread
Results 1 to 5 of 5

PIVOT TABLE - Summary Table into a Databasae Table.

  1. #1
    sansk_23
    Guest

    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. #2
    thecuzin
    Guest

    RE: PIVOT TABLE - Summary Table into a Databasae Table.

    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. #3
    Debra Dalgleish
    Guest

    Re: PIVOT TABLE - Summary Table into a Databasae Table.

    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 Data>Text 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. #4
    Fred
    Guest

    RE: PIVOT TABLE - Summary Table into a Databasae Table.

    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. #5
    sansk_23
    Guest

    RE: PIVOT TABLE - Summary Table into a Databasae Table.

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1