+ Reply to Thread
Results 1 to 7 of 7

Resume Pivot table from another pivot table

  1. #1
    Registered User
    Join Date
    05-15-2019
    Location
    São Paulo
    MS-Off Ver
    365
    Posts
    8

    Resume Pivot table from another pivot table

    Goog Morning,

    I have the following issue:

    I have a Pivot Table that with many rows with "Execution Services" category that show me a column "Diference Days" with a diference two dates "Initial Date" and "Execution Date". That´s ok.
    Now I need another Pivot Table "Pivot Table 2" that resume all categories "Execution Services" but with a column with a quantity from a formula "Max Diference Days >= Cell Reference":

    The objective is know how many Execution Services exceed the Max days Execution.

    Obs: The days in the panel could be altered.

    Ex:


    Pivot Table 1 Pivot Table 2 Panel

    A1 B1 C1 D1 Category Quantity Category Max Days Execution (Cell Reference)
    Category (Execution Service) Initial Date Execution Date Diference Days Installation 2 Installation 3
    Migration 1 Migration 2
    A2 B2 C2 D2 Address Transference 1 Address Transference 10

    Installation 05/15/2019 05/21/2019 6
    Address Transference 05/02/2019 05/19/2019 17
    Migration 05/08/2019 05/15/2019 7
    Installation 05/03/2019 05/08/2019 5
    Migration 05/08/2019 05/10/2019 2
    Installation 05/08/2019 05/09/2019 1


    Thank you very much !

    Paulo Cezar from Brasil

  2. #2
    Registered User
    Join Date
    05-15-2019
    Location
    São Paulo
    MS-Off Ver
    365
    Posts
    8

    Re: Resume Pivot table from another pivot table

    Bad Format first post
    Attached Files Attached Files
    Last edited by Patpcv; 05-22-2019 at 09:18 AM. Reason: Bad Format first post

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,561

    Re: Resume Pivot table from another pivot table

    Hello Patpcv and Welcome to Excel Forum.
    Not understanding Portuguese I am fairly lost. I am guessing that the column "Contagem de Campo6" is difference days.
    If that is correct then it would seem that for FTTH - Manutenção the difference days are 41 and 32, both of which exceed the max execution days (3) for that category. I am not sure whether you want to see 2 or 38 as the value in cell G10.
    Note that I am not sure that a pivot table 2 will do what you want, although pivot table 1 might be used, along with some formulas, to produce a hybrid table.
    If you are interested in attempting a hybrid table type solution please tell us a few of the values you expect to see in column G and unless the rational for those values in very obvious, please tell us why you expect to see them.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    05-15-2019
    Location
    São Paulo
    MS-Off Ver
    365
    Posts
    8

    Re: Resume Pivot table from another pivot table

    Hello JeteMc

    Thank you so much your reply !

    I´m sorry bad english. You are right my problem, in fact in cell G10 i need the value 2 because there is 2 (two) OS´s (Service Orders) that exceed the limit of 3 days to execution like the value j6.
    The same of category IVR - Instalação. In cell G14 should be a value 13 because its 13 OS´s that exceed quantity days of execution in cell J11 (15)
    The same I need another categories. I need to know how many OS´s exceed the limit of days for execution according Panel. The values in Panel, column J could ber changed.

    And why I need another pivot table ? If I want to know witch are OS´s exceed the limit, I can doble click over the cell in pivot table and the OS´s will be showed a new sheet.

    So I appreciate so much your help.

    Thank you and good lock for you and your family.

    Paulo Cezar

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,561

    Re: Resume Pivot table from another pivot table

    No need to apologize, I understand the posts, just can't read the column headers.
    See if the following may be helpful.
    Two columns are added to Table5
    Column Z (Days) is populated using: =IF([@Fechamento]>[@Abertura],[@Fechamento]-[@Abertura],0)
    Column AA (Over Limit) is populated using: =1*(Z2>INDEX(Processos!J$5:J$25,MATCH(I2,Processos!I$5:I$25,0)))
    After adding the columns I attempted to refresh the pivot table but got a 'Reference isn't valid' message.
    I then changed the source and the row headers on the pivot table changed also.
    I added the 'Over Limit' field to the values of the pivot table, summarizing by SUM.
    Looking at the numbers they seem correct, and you can select and inspect OS's as you requested (see Sheet1).
    Let us know if you have any questions.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-15-2019
    Location
    São Paulo
    MS-Off Ver
    365
    Posts
    8

    Re: Resume Pivot table from another pivot table

    Good morning JeteMc !

    Thank you so much your help. Help me so much !

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,561

    Re: Resume Pivot table from another pivot table

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] VBA create pivot table in excel 2010 defaulted to 2003 pivot table format
    By lynnsong986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2019, 02:05 PM
  2. Replies: 6
    Last Post: 01-24-2017, 06:56 PM
  3. Replies: 2
    Last Post: 09-04-2015, 02:47 AM
  4. Replies: 1
    Last Post: 07-29-2015, 05:19 PM
  5. Replies: 1
    Last Post: 07-29-2015, 05:15 PM
  6. Collapse/Expand - Pivot table Fields - Need equivalent option in Excel VBA Pivot table
    By ragavendraph in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-07-2012, 03:00 PM

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