+ Reply to Thread
Results 1 to 9 of 9

Unable to get my pivot table to work properly

  1. #1
    Registered User
    Join Date
    08-03-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    25

    Unable to get my pivot table to work properly

    I have an excel sheet that with a sheets titled "Records" that I use for data entry and can calculate Simultaneous Machines Outage for me based on my selection.
    To be able to generate chart for this data I thought of creating a pivot table in "SimultaneousOutage". While experimenting, I found that the result returned by the pivot table does not match the one calulated in the "Records" sheet.

    I'm attaching the spreadsheet for your reference and help please.
    Attached Files Attached Files

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

    Re: Unable to get my pivot table to work properly

    Appears that there are two issues.
    1) The range in records H5 is $M8:$M1513 as opposed to $M8:$M1539
    2) In the first pivot table 'Overlaps' include empty, although instructions state exclude empty and zeros.
    2a) Similar situation in the second pivot table with the 'Overlap' filter.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    08-03-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    25

    Re: Unable to get my pivot table to work properly

    Thanks for the reply.

    the Data source for both tables are set to "table2". The two tables have different set up for demonstration only.

    My point is as follows:

    1. go to records sheets and choose 4K-001 and 4K-002 as Machine 1 and Machine 2 in the "Simultaneous Machines Outage" area. You will notice that "Total HRS of Simultaneous Outage" is 462.26 and "Total Simultaneous Outage" is 48.

    2. now go to the pivot table sheets and choose the same machines in any of the tables. you will notice that the "Sum of overlaps" return 0's. Sometimes after refreshing all, we may get the correct answer but sometimes we won't.

    Try it again with CS-1 and CS-3. Try it with different combinations the "Sum of overlaps" return 0's most of the time.

    Thanks again

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Unable to get my pivot table to work properly

    before I do further investigation:

    are there merged cells in the data?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Registered User
    Join Date
    08-03-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    25

    Re: Unable to get my pivot table to work properly

    Quote Originally Posted by oeldere View Post
    before I do further investigation:

    are there merged cells in the data?

    No merged cells.

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

    Re: Unable to get my pivot table to work properly

    I chose 4K-001 and 4K-002, as well as unselecting 5K-001 and 5K-001, on the 'Records' sheet and got the values you posted. After going through those steps in the pivot tables, refreshing and unselecting empty again, I got 462.26 and 48 there also. Sorry not to be of any more help.

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Unable to get my pivot table to work properly

    Maybe I misunderstood post#1 but...
    If you correct ranges like JeteMc said in post#2 point 1, everything works well, both pivots and excel table
    I tried different ways to get "error" but no success

  8. #8
    Registered User
    Join Date
    08-03-2016
    Location
    USA
    MS-Off Ver
    2010
    Posts
    25

    Re: Unable to get my pivot table to work properly

    Finally got it.

    I do the overlap calculation in the records sheets based on machines selection; which means that the overlap column will only be filled for those machines set as criteria.

    pivot table has be set to the same machine criteria to get the right answer otherwise it only give wrong answer.

    So for it to work, I need to select the machines and fet filters in the records sheet first then apply the same in the pivot table. Then only ot will work.


    Thank you all for the help and support.

  9. #9
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Unable to get my pivot table to work properly

    .
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Pivot table - Unable to navigate to source data from pivot table
    By Richavlaues in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-30-2016, 10:37 AM
  2. Pivot table not sorting properly
    By Dast in forum Excel Charting & Pivots
    Replies: 13
    Last Post: 06-10-2016, 06:43 PM
  3. Item in pivot table won't count properly
    By drrazor in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-22-2015, 03:14 AM
  4. Pivot Table not Totaling Properly
    By buckle2600 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-08-2012, 11:34 AM
  5. Pivot Table not suming properly
    By Dryclean in forum Excel General
    Replies: 3
    Last Post: 12-21-2011, 11:48 AM
  6. Pivot Table Won't Count Properly
    By bystarlight in forum Excel General
    Replies: 4
    Last Post: 07-30-2010, 07:12 AM
  7. Can't Use Pivot Table Properly?
    By jdomante in forum Excel General
    Replies: 3
    Last Post: 11-06-2009, 12:36 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