Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484987
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:31:17+00:00 2026-06-10T20:31:17+00:00

I have a pivot table in Excel and the sum of the items should

  • 0

I have a pivot table in Excel and the sum of the items should equal zero. Instead I am getting a number very, very close to zero (-3.63797880709171E-12). As @Tim Williams pointed out in his comment this is a known artifact of decimal <–> binary floating point conversions.

My main concern here is really in the formatting of the result. I am trying to apply an accounting format where a $0 shows as $ - as opposed to $0.00. The $ - format is important because it allows you to look at a glance and see which columns “tie out” when comparing sets of numbers. When some zeroes display as $0.00 and others display as $ - this is much more difficult.

For example,

╔══════════════════════════════════════════════╦══════════╗
║                   Formula                    ║  Result  ║
╠══════════════════════════════════════════════╬══════════╣
║ = 1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1  ║  $ 0.00  ║
║ =-1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1+0.1  ║  $(0.00) ║
║                                           0  ║  $   -   ║
╚══════════════════════════════════════════════╩══════════╝

I would like the result for all three formulas to show as $ -. Is there a way to force that to happen? Perhaps there is a way to force sums in a pivot table to round to the nearest penny (i.e., hundredth)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:31:18+00:00Added an answer on June 10, 2026 at 8:31 pm

    Try changing your formula to this so that it rounds to the nearest 10th (change the last 1 to something bigger if you need more precision).

    = round(1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1-0.1, 1)
    

    Edit:
    If you are unable to change the formula, you can also use a custom display format For the result along the lines of:

    [<0.05]"-";[>-0.05]"-";$0.00
    

    I have not tested this, but you should get the idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Excel spreadsheet which has a pivot table on it. The data
I have a pivot table in an Excel worksheet that contains the result of
I have an excel spreadsheet based on a pivot table that is periodically updated
I have a pivot table in excel that shows referral domains to our website.
I have a pivot table, well of course every row will be included in
I have created a GUI that will setup the pivot table. For example, I
I have table to test score data that I need to pivot and I
I have query to show the table like this: but I want to PIVOT
I have an Events table with a not-null date field. Based on a pivot
how to carry out the pivot function i have a table with datas Day

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.