2013 Archives by date, by thread · List index

# [libreoffice-users] Re: calc - hours of work in a month

```On 05.06.2013 19:19, Brian Barker wrote:
```
```At 18:43 05/06/2013 +0200, Adam Noname wrote:
```
```I have two list of times in format HH:MM , :
[...]
Then I want to sum all differences. It is not hard = SUM(D2:D33) .  It
should be in [HH]:MM format to show good number of hours. My result is
: 149:43 .  I want to round it to full hours, which shlould be IMHO
150 .  How can I do it ?
```
```
The underlying value for your total is a simple numeric value, so the
fact that your fraction of an hour is shown in base 60 (as minutes) is
no complication.  This underlying value is in days, so you need to
multiply by 24 to get hours and then to round that:
=ROUND(Xn*24)

I trust this helps.

Brian Barker

```
```

= ROUND(SUM(D2:D33)*24)

but I get :

3600:00

I have also to change cell format to numer and then it works as expected

150

Thx

--
To unsubscribe e-mail to: users+unsubscribe@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.