[Dropped] How to total multiple time in Calc

Discuss the spreadsheet application
Locked
lavarne04
Posts: 1
Joined: Wed Oct 30, 2024 8:19 am

[Dropped] How to total multiple time in Calc

Post by lavarne04 »

Hello,

I have a problem adding multiple time in calc example

00:29:41
00:04:24
00:11:14
00:45:29
00:12:12
00:23:10
00:05:55

when I use =sum the result is 00:00

what formula I can use on this?

Thanks
Last edited by MrProgrammer on Wed Nov 06, 2024 6:42 pm, edited 1 time in total.
Reason: Dropped: No attachment provided to demonstrate the situation; Suggestions provided; No response from lavarne04
OPENOFFICE 4.1.3
User avatar
robleyd
Moderator
Posts: 5504
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: how to total multiple time in calc

Post by robleyd »

Welcome to the forum.

Without seeing the actual spreadsheet file I'll take a guess; your times are actually entered as text, and SUM doesn't add test values. To show cell content types, quoted from HELP:
Value Highlighting
Displays cell contents in different colors, depending on type.
To remove the highlighting, unmark the menu entry.

To access this command...
Choose View - Value Highlighting

Text cells are formatted in black, formulae in green, and number cells in blue, no matter how their display is formatted.

If this function is active, colours that you define in the document will not be displayed. When you deactivate the function, the user-defined colours are displayed again.
[Tutorial] Text to Columns has hints on converting text values to numbers/dates/time.

If you are new to spreadsheets you may find [Tutorial] Ten concepts that very Calc user should know to be a useful resource.
Slackware 15 (current) 64 bit
Apache OpenOffice 4.1.16
LibreOffice 26.2.3.2; SlackBuild for 26.2.3 by Eric Hameleers
---------------
I hate this damn computer, I wish that I could sell it.
It won't do what I want it to, Only what I tell it.
Alex1
Volunteer
Posts: 852
Joined: Fri Feb 26, 2010 1:00 pm
Location: Netherlands, EU

Re: How to total multiple time in Calc

Post by Alex1 »

When you add times make sure the result is formatted as a duration: [HH]:MM:SS instead of clock time: HH:MM:SS.
The latter will show the sum modulo 24 hours.
AOO 4.1.16 & LO 25.8.3 on Windows 10
Locked