OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Add time value manualy to a cell - save time format [solved]

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
Grandis
OOo Advocate
OOo Advocate


Joined: 05 Mar 2007
Posts: 232
Location: Norway

PostPosted: Thu Dec 11, 2008 2:50 pm    Post subject: Add time value manualy to a cell - save time format [solved] Reply with quote

Hi.

Have a cell A1 that is formatted and contains the time 13:10:00.

Then I have A2 that I want to add 20 minutes to the time in A1 - but I don't want to us an extra cell for that.

So in A2 i wrote "=A1+00:20". All went fine, but the time in the formula in A2 is now converted to a decimal number.

I want to add a time without using a spare cell, and I want the added time format to be intact so I can read it later if I want to.

[EDIT]
Found this out:

I can use the TIMEVALUE function that returns time from a text string.

So the formula is then:
=A1+TIMEVALUE("00:20")
_________________
Windows XP sp2
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group