+ Reply to Thread
Results 1 to 9 of 9

how to join a pivot table functionality into an existing table

  1. #1
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    how to join a pivot table functionality into an existing table

    hello

    I have one table with 14 rows (employee information including an employee nr)
    in a second large table I have raw data containing

    example view (this table have 600 rows)

    A is employee nr B is order nr C is time used

    ....A.................B................C....................D...........E...........................F.............G
    13993.........156 019......2,43...........TIMER.........0..................Z569KAA..Planlagt
    12651.........395 122......1,2..............TIMER........0..................Z569PON..Startet
    12661.........395 122.....1,08............TIMER.........0..................Z569PON..Startet
    13547.........395 122.....0,57............TIMER.........0..................Z569PON..Startet
    12657.........416 091.....-2,8..............QTY............2,8..............Z569HH......Avrapportert
    12657.........416 091.....-0,9..............QTY............0,9..............Z569HH......Avrapportert
    12651.........438 554......0,8..............TIMER........0.................Z569PON....Avrapportert
    12651.........438 554......0,6..............TIMER........0..................Z569PON...Avrapportert
    12651.........438 554.....0,45............TIMER.........0.................Z569PON....Avrapportert
    12649.........456 267.....2,34............TIMER.........0.................Z569ARJ.....Avrapportert
    12649.........456 267......0,93...........TIMER.........0.................Z569ARJ.....Avrapportert
    12649.........462 211......3,85...........TIMER.........0.................Z569TNA......Avrapportert

    I want to be able to find all the orders connected with each of the employees and for each ordernumber I want to sum the hours spent on them. I would like this to be returned as a row underneath each employee.
    Last edited by KORT; 09-27-2010 at 04:52 PM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to join a pivot table functionality into an existing table

    If the data is sorted by order as implied - use the SUBTOTAL feature (add a header row first) - this can be found in the DATA tab on the Ribbon.

    if needed sort the table by employee and then by order prior to inserting the SUBTOTAL

  3. #3
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to join a pivot table functionality into an existing table

    hello thanks for the tips
    But this dont solve my problem. I want to have the data displyed between the employees in the first table (the one with employee information including an employee nr)

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to join a pivot table functionality into an existing table

    I would suggest to avoid any further confusion you post a sample workbook with both "before" and "after" sheets so people can better assist.

    If the existing data set resides in a Data Table (I presumed not given lack of headers) then you can not use the Subtotal functionality.
    If the data exists in a standard range then Subtotal does what you requested (once header row added), or at least that is my belief based on the information provided thus far.

  5. #5
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to join a pivot table functionality into an existing table

    hello

    original table


    name.......... B................C..............m (empoyee nr)
    yyyy............14...............706...........12651
    zzzz.............0..................0..............12661
    aaaa...........0..................0..............14708
    bbbb...........0..................0..............14721
    ccccc..........15...............1248........12962
    dddd...........0..................0..............13547
    eeee...........0..................0..............12649
    fffffff.............0..................0..............13401
    ggg.............28................2277.......13993
    hhhh............0..................0..............13337
    iiiii...............54...............3624........12662
    jjjjj................0..................0..............13427
    kkkk............0..................0..............13227


    result pic 1

    name.......... B................C..............m (empoyee nr)
    + yyyy............14...............706...........12651
    + zzzz.............0..................0..............12661
    + aaaa...........0..................0..............14708
    + bbbb...........0..................0..............14721
    + ccccc..........15...............1248........12962
    + dddd...........0..................0..............13547
    + eeee...........0..................0..............12649
    + fffffff.............0..................0..............13401
    + ggg.............28................2277.......13993
    + hhhh............0..................0..............13337
    + iiiii...............54...............3624........12662
    + jjjjj................0..................0..............13427
    + kkkk............0..................0..............13227





    result pic 2

    name.......... B................C..............m (empoyee nr)
    - yyyy............14...............706...........12651
    .....395122..... 1,2.........timer.........z569pon......startet
    .....438554.......1,85......timer.........z569pon......avrapportert
    ......and on.....
    - zzzz.............0..................0..............12661
    .....395122......1,08.........timer........z569pon,,,,,,startet
    .....and on.....
    + aaaa...........0..................0..............14708
    + bbbb...........0..................0..............14721
    + ccccc..........15...............1248........12962
    + dddd...........0..................0..............13547
    + eeee...........0..................0..............12649
    + fffffff.............0..................0..............13401
    + ggg.............28................2277.......13993
    + hhhh............0..................0..............13337
    + iiiii...............54...............3624........12662
    + jjjjj................0..................0..............13427
    + kkkk............0..................0..............13227

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to join a pivot table functionality into an existing table

    Not to sound like a "broken record"...

    Quote Originally Posted by DonkeyOte View Post
    post a sample workbook with both "before" and "after" sheets so people can better assist.
    As it stands there is little to work with given your "original" table does not show the source transactions

    Note: the SUBTOTAL function can display the subtotals either above or below the transactional info of any given group - this is an option when it is configured - it defaults to below whereas you appear to want above.

  7. #7
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to join a pivot table functionality into an existing table

    Hello

    This is beginning to become difficult. If you want me to, I can mail you the whole workbook

    Please send a mail to and I will send you the workbook.
    Last edited by KORT; 09-30-2010 at 11:07 AM.

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: how to join a pivot table functionality into an existing table

    Quote Originally Posted by KORT
    This is beginning to become difficult.
    Not really.

    When you reply click the paperclip icon (if you can not see it first click GoAdvanced) - and attach your file.

    Also, unless it is your intention to be spammed to oblivion I would strongly advise you remove your email address from your prior post.

  9. #9
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to join a pivot table functionality into an existing table

    hello
    take a look at it

    i want to join "RÅDATA AO MED TID" and "RESULTAT"
    Attached Files Attached Files

+ 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