Consulting

Results 1 to 3 of 3

Thread: Solved: Pivot Table Is Not Consolidating

  1. #1

    Solved: Pivot Table Is Not Consolidating

    I'm not certain what the issue is but attached is my workbook (this is an example...what I actually have is large and confidential). Basically, why is the "Rate" row getting separated and not combining? It's showing duplicate "rate" rows rather than having one line per rate and the sum of the cases/allowance...I've tried everything:
    • Ensure there are no unnecessary characters (i.e. spaces, blanks, apostrophes, etc.)
    • Convert all data to text
    • Remove everything except the pivot columns
    I'm at a loss...I know the issue itself isn't entirely VBA (although I do have a macro which creates reference points and then consolidates the data into a pivot) but again I've tried everything.
    Attached Files Attached Files

  2. #2
    Administrator
    VP-Knowledge Base
    VBAX Grand Master mdmackillop's Avatar
    Joined
    May 2004
    Location
    Scotland
    Posts
    14,489
    Location
    It looks like some floating point thing; values are not quite what they seem. Doing an Edit/ReplaceAll on each value removes the duplicates.
    MVP (Excel 2008-2010)

    Post a workbook with sample data and layout if you want a quicker solution.


    To help indent your macros try Smart Indent

    Please remember to mark threads 'Solved'

  3. #3
    Agh!

    I did a manual calculation and just automatically assumed since it evened out perfectly to 2 decimals that it wasn't a rounding issue. I've updated my VBA code to have that column round to 2 decimals.

    Thank you!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •