Bug 49635 - : =sum() fuction error.
Summary: : =sum() fuction error.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 04:59 UTC by Risto Ronkka
Modified: 2012-05-08 11:53 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
File where you can find the calulation error. (18.00 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-05-08 04:59 UTC, Risto Ronkka
Details
Modified (and corrected) sample document (16.22 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-05-08 06:39 UTC, vitriol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Risto Ronkka 2012-05-08 04:59:00 UTC
Created attachment 61220 [details]
File where you can find the calulation error.

Problem description: 

=sum() function calculation error. 

Current behavior:
See A415 and C415 cells. Result should be same.
I can supply the file where error occurs.
ristoronkka@ovi.com

Expected behavior:

Platform (if different from the browser): 
              
Browser: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 vitriol 2012-05-08 06:36:53 UTC
> See A415 and C415 cells. Result should be same.

Some values ​​in column A are strings and not numbers, because of the prefix apostrophe. Removing apostrophes gives a correct result.
In AOO 3.4 I get the error #VALUE with the original document, and not the wrong result. It's most clear for user...
Comment 2 vitriol 2012-05-08 06:39:16 UTC
Created attachment 61227 [details]
Modified (and corrected) sample document

See attachment. Modified (and corrected) sample document.
Comment 3 Risto Ronkka 2012-05-08 11:53:25 UTC
Thanks! I was assuming that there is this kind of error somewhere and I tried to change all cells as numbers or as currency fields, but it did not solve.
When I was looking the cells they all looked same.