Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Am 08.08.2012 18:12, teknow wrote:
I have a list of measured times in [H]:MM:SS format and I would like to sum
them.  If I put in a formula:

= B2+B3+B4+B5

it works, but if I try:

=Sum(B2:B5)

I get "00:00:00" as a result.  What am I missing?

I have tried both LibO 3.5.5.3 and 3.6.0.4

Thanks.




Works for me with all numbers but not with text:
http://www.mediafire.com/file/la4iwk9q3vm64be/times_add.ods


LibreOffice and Excel suffer from the same bug. They do an implicit conversion from string to number when arithmetic operators are used with strings. The arithmetic functions are designed to ignore all strings. A properly programmed spreadsheet application would never convert any string unless you tell it to do so and it would throw a #VALUE! error whenever a string comes in the way of an arithmetic operation. Unfortunately, typical Excel users prefer easy data over correct ones which leads to massive confusion about very simple facts.



--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.