• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Pivot sum option is returning to -4.54747E-13 instead of Zero

Hi Buddies,

Please help me to resolve the pivot sum option, data is having both the figures of + & - nad net off value will be Zero, but in pivot instead of Zero , value -4.54747E-13 is reflecting.

Attached XL sheet, please help.


regards,
Kushi
 

Attachments

  • Forum querry.xlsx
    11.8 KB · Views: 2
Is normal due to 15 floating point precision of Excel (length of number is max 15 digits long). Sometimes very small numbers show up where you would expect 0.

But it seems you have simply formatted it as text and not number.
upload_2018-3-28_13-45-35.png
 

Attachments

  • Forum querry.xlsx
    16 KB · Views: 1
Hi ,

This is a known problem since Excel uses floating point numbers to represent decimal values.

One solution is to use a calculated field which uses rounding to 2 decimal places.

See the attached file.

Narayan
 

Attachments

  • SampleData.xlsx
    11.9 KB · Views: 6
Back
Top