+ Reply to Thread
Results 1 to 3 of 3

Pivot Table - Duplicated Values Giving Inaccurate Results

  1. #1
    Registered User
    Join Date
    01-20-2017
    Location
    Seymour, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    5

    Pivot Table - Duplicated Values Giving Inaccurate Results

    Hello,

    I am working on a data log that is being displayed in a PivotTable that will be sheet protected. I want to be able to have the user filter the pivot table by a "Report Filter" and some vba macros (which are all working perfectly). However, I want to be able to display the 'Location' of a sample and have the user filter by 'Location'. So in the data for the Pivot Table, I created an extra column that was labeled 'Location2' and had it equal to 'Location'. Generated the data and refreshed the pivot table.

    The problem arises when I try to filter by the Report Filter of "Location2" and I get very inaccurate results. After lots of playing around, I finally added the "Location2" to the Row Labels with "Location" and had them side by side. The crazy thing is that it is showing different results. I go back to the sheet that has the duplicated column of Location and everything is exactly the same.

    Has anybody ran into this problem? Does anybody have any suggestions what could cause this. (Keep in mind, there are currently no macros or VBA in play here, it is straight up populating the data for a pivot table, Creating a pivot table, and the data doesn't jive to what the data for the pivot table displays.)

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Pivot Table - Duplicated Values Giving Inaccurate Results

    This sounds like an issue that can't be solved without looking at the source data.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    01-20-2017
    Location
    Seymour, Indiana
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Pivot Table - Duplicated Values Giving Inaccurate Results

    Thank you very much for this. I was able to fix it prior to seeing this message. I could not manually create the problem with those numbers but did notice duplicate values for a single value. The data should have all been in 'Text' format but a few of entries were in 'Number' format. Therefore, there was duplicate data for a single filter and the macro would error because it didn't know which single filter it should pick. I ended up just doing a simple '=ISTEXT()' and going to all the 'Falses' and making them back to 'Text' format. I then had to clear all fields and recreate the pivot table to completely fix this issue.

    Everything is working now, thank you very much for your input and sorry for the late response.

+ 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] Inaccurate Results when Copying Data to a Table Containing Formulas
    By SiberianK in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-22-2015, 12:13 PM
  2. Pivot table giving wrong results?
    By domgilberto in forum Excel General
    Replies: 1
    Last Post: 10-22-2014, 11:08 AM
  3. [SOLVED] Pivot Table formula giving incorrect results
    By some_evil in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-20-2014, 06:30 PM
  4. Inaccurate results of SUMIFS and SUM function
    By Ganesh7299 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-12-2013, 11:13 AM
  5. Replies: 0
    Last Post: 02-18-2013, 03:50 PM
  6. Replies: 6
    Last Post: 05-30-2012, 09:54 AM
  7. Replies: 4
    Last Post: 02-27-2012, 08:39 AM

Tags for this Thread

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