+ Reply to Thread
Results 1 to 5 of 5

Rounding (removing decimals) from Pivot Table results

  1. #1
    Registered User
    Join Date
    03-31-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    33

    Rounding (removing decimals) from Pivot Table results

    Hello all,

    Have an interesting scenario - a report is generating speeding violations for both US and Canada. When manipulating the data that comes from Canada, I can convert to metric easily enough, but it shows the speed limit as 79.99999. I can change the cells to only display a number with no decimals and it automatically rounds up the values. Done.

    I create the Pivot Table off that data set, but when I double click the field to see the expanded selection in a new sheet, it shows the data without the rounding, decimal adjustments. Is there a way to prevent that from happening?

    I'd share the Excel sheet, but it's got proprietary company/client information...sorry

  2. #2
    Registered User
    Join Date
    03-31-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Rounding (removing decimals) from Pivot Table results

    My partial result to solving the problem is the ROUNDUP function, then copying values into a new column

    roundup.png

    The problem still exists when double-clicking the count of instances in the PT - the full data set for that range of data is still shown, and I don't want the original numbers to be visible - just the rounded total. Make sense?

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,697

    Re: Rounding (removing decimals) from Pivot Table results

    the aesy way - convert further - to rounded values and use them as source for pivot
    simple
    =ROUND(A2,0)
    would do.

    PS. As for attachment - nobody wants get insight in your delicate data. But you can (almost) always prepare sample workbook with the same problem.
    Attached Files Attached Files
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    03-31-2013
    Location
    USA
    MS-Off Ver
    Excel 2013
    Posts
    33

    Re: Rounding (removing decimals) from Pivot Table results

    I've already done the ROUNDUP function, but thanks for the recommendation. That's not the source of the problem. The problem exists when you double-click on the # of violations from the Pivot Table. When performing that task, it opens up the full instance details in a new sheet and displays the original source values. I've sanitized the sheet for a sample version to illustrate what I am talking about. Double click on cell B6 in the attached sheet and you'll see what I am talking about:

    Column E in the new tab of data shows the exported speed limit - that's what I am trying to hide...make sense?
    Attached Files Attached Files

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,697

    Re: Rounding (removing decimals) from Pivot Table results

    As far as I know you do not have control over the drill-down results.
    So you have to delete (not just hide) column with unprocessed data.
    By the way, it is not abuse, because the accuracy of any measurement wil not be unlimited - usually with good firld equipmet you can get 3 significant digits and with laboratory equipmet some 5-6 significant digits.
    59,9999999770829 if we take into account as many as 11 significant digits is still 60.

+ 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] Help with converting decimals into whole in a Pivot table
    By rcocalm in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-29-2013, 12:34 PM
  2. Rounding decimals below and above 0,50
    By Hitch75 in forum Excel General
    Replies: 4
    Last Post: 09-23-2010, 08:15 AM
  3. Macro Pivot Table vs Manual Pivot Table - different results
    By vodka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-03-2008, 04:43 PM
  4. Rounding results to nearest quarter (in decimals)
    By djarcadian in forum Excel General
    Replies: 5
    Last Post: 10-26-2005, 08:05 PM
  5. Pivot table formats text data with 2 decimals
    By Don S in forum Excel General
    Replies: 3
    Last Post: 10-05-2005, 08:05 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