With this number format code you can represent any number as a time difference. An easy example would be to use :MM:SS (am/pm makes no sense for time differences) which tells the number formatter that you don't want to calcuate times modulo 24 hours. In your case you want to show negative time (or time differences) so you want to represent negative numbers like -0.1 as -02:24:00 which requires you to adapt the number format code. Taking your example with 07:50:00 - 00:52:00, just change the formula from J24-I24 to I24-J24. Home Next Excel Introduction Get started with your own server with Dynamic Spaces. You need a formula that returns a negative value. You can study W3Schools without using My Learning. The number format code that corresponds to 12:00:00 AM is HH:MM::SS AM/PM which says that the time should be calculated modulo 24 hours and AM/PM applied automatically. With this number format code you can represent any number as a time difference. The second important thing to understand is that the number format code tells you how your value is interpreted. Now if you add the default time format you'll get something like 12:00:00 AM (for an en-US locale, for other locates the representation looks different). The value 1 represents 24 hours when formatted as time or one day past the zero date (can be changed in the options). The important part for working with time values as well as dates in LibreOffice (same is true for Excel) is to understand that these are just normal numbers with a special number format. As a free alternative to Microsoft’s popular Excel, OpenOffice Calc is a tough one to beat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |