#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Time update


Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.




--
gusdafa
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Time update

First, your formula can be simplified to:
=IF(B15<"",NOW(),"")

But the bad news is that this formula will reevalate each time excel recalcs.

You could use enter the date and time by using a couple of shortcut keys:
ctrl-; (spacebar) ctrl-:

Or you could use an event macro that populates the cell when B15 (and more)
change. See JE McGimpsey's site:
http://www.mcgimpsey.com/excel/timestamp.html

gusdafa wrote:

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.

--
gusdafa


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Time update

The formula does not simplify to =IF(B15<"",NOW(),"") but to
=IF(B15<"",MOD(NOW(),1),""), but Dave is right that it would recalculate
each time.
--
David Biddulph

"Dave Peterson" wrote in message
...
First, your formula can be simplified to:
=IF(B15<"",NOW(),"")

But the bad news is that this formula will reevalate each time excel
recalcs.

You could use enter the date and time by using a couple of shortcut keys:
ctrl-; (spacebar) ctrl-:

Or you could use an event macro that populates the cell when B15 (and
more)
change. See JE McGimpsey's site:
http://www.mcgimpsey.com/excel/timestamp.html

gusdafa wrote:

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.

--
gusdafa


--

Dave Peterson



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Time update

First, your formula can be simplified to:
=IF(B15<"",NOW(),"")


The formula does not simplify to =IF(B15<"",NOW(),"") but to
=IF(B15<"",MOD(NOW(),1),"")


Or even... =IF(B15<"",NOW()-TODAY(),"")

Rick


"Dave Peterson" wrote in message
...
First, your formula can be simplified to:
=IF(B15<"",NOW(),"")

But the bad news is that this formula will reevalate each time excel
recalcs.

You could use enter the date and time by using a couple of shortcut keys:
ctrl-; (spacebar) ctrl-:

Or you could use an event macro that populates the cell when B15 (and
more)
change. See JE McGimpsey's site:
http://www.mcgimpsey.com/excel/timestamp.html

gusdafa wrote:

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.

--
gusdafa


--

Dave Peterson




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Time update

And thanks for alternative, too!

"Rick Rothstein (MVP - VB)" wrote:

First, your formula can be simplified to:
=IF(B15<"",NOW(),"")


The formula does not simplify to =IF(B15<"",NOW(),"") but to
=IF(B15<"",MOD(NOW(),1),"")


Or even... =IF(B15<"",NOW()-TODAY(),"")

Rick

"Dave Peterson" wrote in message
...
First, your formula can be simplified to:
=IF(B15<"",NOW(),"")

But the bad news is that this formula will reevalate each time excel
recalcs.

You could use enter the date and time by using a couple of shortcut keys:
ctrl-; (spacebar) ctrl-:

Or you could use an event macro that populates the cell when B15 (and
more)
change. See JE McGimpsey's site:
http://www.mcgimpsey.com/excel/timestamp.html

gusdafa wrote:

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.

--
gusdafa

--

Dave Peterson




--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Time update

You're right.

Thanks for the correction.

David Biddulph wrote:

The formula does not simplify to =IF(B15<"",NOW(),"") but to
=IF(B15<"",MOD(NOW(),1),""), but Dave is right that it would recalculate
each time.
--
David Biddulph

"Dave Peterson" wrote in message
...
First, your formula can be simplified to:
=IF(B15<"",NOW(),"")

But the bad news is that this formula will reevalate each time excel
recalcs.

You could use enter the date and time by using a couple of shortcut keys:
ctrl-; (spacebar) ctrl-:

Or you could use an event macro that populates the cell when B15 (and
more)
change. See JE McGimpsey's site:
http://www.mcgimpsey.com/excel/timestamp.html

gusdafa wrote:

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.

--
gusdafa


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Time update

Try JE McGimpsey's coverage of "Time and date stamps" at his page:
http://www.mcgimpsey.com/excel/timestamp.html
Scroll down to the part: Using a worksheet event macro
(You can't use formulas as the "date/time stamps" as these will recalc)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"gusdafa" wrote in message
...

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.




--
gusdafa



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Time update

Scroll down to the part: Using a worksheet event macro
You can't use formulas as the "date/time stamps" as these will recalc


You scrolled right past "Using circular references and worksheet functions".


--
Biff
Microsoft Excel MVP


"Max" wrote in message
...
Try JE McGimpsey's coverage of "Time and date stamps" at his page:
http://www.mcgimpsey.com/excel/timestamp.html
Scroll down to the part: Using a worksheet event macro
(You can't use formulas as the "date/time stamps" as these will recalc)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"gusdafa" wrote in message
...

Hi there,

I have a formula that updates the time wherever data is entered in the
B15 cell. I copied this formula down the column so that each update
(B16..B17) will have its on time update, the problem is that the latest
time update updates all the previous times to the current time. Can
someone help me rectify this please? I want times updated previously to
be locked and not updated anymore. I have tried locking nearly
everything in the formula but got thrown errors.

Here is the formula,
=IF(B15<"",TIME(HOUR(NOW()),MINUTE(NOW()),SECOND( NOW())),"")

Thanks.




--
gusdafa





  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Time update

Intent was to inform OP to try this part in JE's page:
Scroll down to the part: Using a worksheet event macro

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"T. Valko" wrote in message
...
Scroll down to the part: Using a worksheet event macro
You can't use formulas as the "date/time stamps" as these will recalc


You scrolled right past "Using circular references and worksheet
functions".



  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Time update


Max;2642773 Wrote:
Try JE McGimpsey's coverage of "Time and date stamps" at his page:
http://www.mcgimpsey.com/excel/timestamp.html
[/i][/color]
Thanks a lot for the help.

Problem resolved.

:D




--
gusdafa


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
update time jschlis Excel Discussion (Misc queries) 2 December 27th 06 02:35 PM
excel access will not update time erique Excel Worksheet Functions 0 August 9th 06 05:25 AM
How to get time to update automatically and continuos Elaine Excel Worksheet Functions 1 March 30th 06 11:42 AM
Time stamp that does NOT update Pam Excel Worksheet Functions 0 November 3rd 05 04:32 PM
How to continuously update time in Excel? Ray_Fry Excel Worksheet Functions 1 February 20th 05 07:00 PM


All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"