+ Reply to Thread
Results 1 to 7 of 7

Thread: Pivot table logic without the pivot table

  1. #1
    Registered User
    Join Date
    07-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    9

    Pivot table logic without the pivot table

    Hello all,

    I'm new to this forum and new to Excel too. I prepared a small xls file as an example of what I want to have. I have 4 columns: FPO No, ITEM No, Operation No and Time. Now, for each different FPO No i have multiple operations like WELDING, BENDING, CUTTING, LASER, but some of the operations are repeating for the same FPO No with different times. I want that for each different FPO No to have the sum of each operation.

    You will see in the xls better, please pardon my english.

    Thx a million for any help.

    LE: I just saw that there is a special New User section, my bad. If a moderator would be kind to move this thread. Thanks.
    Attached Files Attached Files
    Last edited by ccernat; 08-03-2011 at 08:55 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010
    Posts
    474

    Re: Pivot table logic without the pivot table

    Hi

    Welcome to the forum.

    I don't understand why you say you want Pivot Table logic, but without the Pivot Table.

    In the attached file, I made your data into a List.
    Data>List>Create List>my list has headers

    This means that the list will automatically grow in dimensions as you add more data.
    I then created a PT based upon this List, and set it up as shown to produce what you requested. I changed the format of the time cells to a custom format of [hh]:mm

    I have shown 2 alternative layouts, one with the headings going down the page, and one across the page.
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Registered User
    Join Date
    07-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Pivot table logic without the pivot table

    Hello and thanks for your reply,

    It looks great, but i cannot use it because you cant edit a pivot table. All my data will be taken auto from a database, then will be sorted in Excel with the help of formulas ( in wich I am a complete noob ) to be used as a production planning sheet wich should look like the following ( see the new atachment ). So i need the prod manager to operate on each production order individually ( color the cell with the hours he thinks he can do it in the week 04 lets say ) and then move on to the next one, etc. But for that I need the sum for one instance of each operation for each diff production order ( FPO No. ). And when the prod manager will hit refresh on the 2 worksheets that get the data from the database the worksheet with prod. planning will keep the already planned rows ( the hours per week per FPO ) and will update the new FPOs put in the system. Dunno if anything i said makes sense, i will attach the xls to see.

    Thanks alot again.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010
    Posts
    474

    Re: Pivot table logic without the pivot table

    Hi

    Not sure if I am understanding you correctly, and your data is linked to another file (no attached) so it is difficult to know exactly what values are being picked up.

    However, I have created some dynamic named ranges (listed for you on sheet Summary) and then used Sumproduct formulae to pick up the hours projected in columns J:B1 against each FPO number.

    =SUMPRODUCT((Productie=Summary!$A2)*(Operatie=Summary!B$1)*Hours)
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  5. #5
    Registered User
    Join Date
    07-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Pivot table logic without the pivot table

    Hello,

    I attached back your first example of Pivot Table.xls with additional explication, if you have some time to look on it will be great. Thanks alot for your interventions so far.
    Attached Files Attached Files

  6. #6
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010
    Posts
    474

    Re: Pivot table logic without the pivot table

    Hi

    I don't know whether this helps.
    Clearly I haven't added all columns to the PT, but they could be, and you could click the dropdown on Data on the PT to choose the range of weeks you wanted to view.

    I added a column at the beginning of the Data to show Completed, which can be Yes, No or Blank and added that to the Page are of the Pivot Table.

    If in the Page area you chose Blank, then the Completed FPO's would not show.
    If you selected Completed, then only the Completed ones would appear, and (All) would show you everything.

    On your Data table itself, using the dropdown for FPO, you can select any order and fill in the expected hours against the various weeks, equally you could fill in Yes in the Completed column against those entries.

    Selecting (All) again, would show all data.

    I have also pushe the data down by a couple of rows, and added the Subtotal function in row 2, so, when you select any FPO, row 2 will also show the the totals for just that job.

    I hope that this helps.
    Attached Files Attached Files
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  7. #7
    Registered User
    Join Date
    07-19-2011
    Location
    Bucharest
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Pivot table logic without the pivot table

    excelent! your solution with sumproduct its great!!! thx alot.

+ 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.2.0