| View previous topic :: View next topic |
| Author |
Message |
generator Newbie

Joined: 01 Mar 2012 Posts: 2
|
Posted: Thu Mar 01, 2012 2:30 pm Post subject: Auto Add Dates [Solved] |
|
|
Hi all. Sorta frustrated by this one. I'm trying to create something in Calc so that when I add any data at all (a number, or name or just text) to say, anything in column A, I'd like it to automatically enter todays date in the corresponding row in B. Is this possible?
I'm using this to auto add the date I pay invoices, as I often forget to do it.
Thanks!
Last edited by generator on Fri Mar 02, 2012 7:37 am; edited 1 time in total |
|
| Back to top |
|
 |
ozzie OOo Advocate

Joined: 29 Jul 2010 Posts: 316 Location: victoria
|
Posted: Thu Mar 01, 2012 4:49 pm Post subject: |
|
|
Thanks to - drzcyy -[url] http://www.oooforum.org/forum/viewtopic.phtml?t=93461&highlight=timestamps[/url] for this interesting answer.
| Quote: | 1. Format cells in column B to accept dates, or time.
2. Go to: TOOLS>OPTIONS>OPENOFFICE.ORG CALC>CALCULATE
switch "iterations" on. -put a tick in the iterations box.
change "steps" in box to "1" (this last step is not important)
3. insert this formula into cell B1:
=IF(C1="";"";IF(B1="";NOW();B1))
this is what happens: if C1 is empty, B1 will be empty. when C1 has a value, B1 will be timestamped. but... IF B1 is already occupied, the B1 value will not change, including recalculate function or F9. |
I would add that the alteration to the iteration box should be changed again on the next opening of a new file . _________________ If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button). |
|
| Back to top |
|
 |
generator Newbie

Joined: 01 Mar 2012 Posts: 2
|
Posted: Fri Mar 02, 2012 7:36 am Post subject: |
|
|
| That worked beautifully. Thanks for your help! |
|
| Back to top |
|
 |
|