Bundy clock

Oyster1967

Board Regular
Joined
May 24, 2008
Messages
113
HI guys,
I want to be able to calculate the time a student comes into a room to study and the time they leave.
I am using the =now() on entry thats fine..BUT when I put =now() when they exit it changes the entry time to the same.
what can I do?


Yun Mi Sun 9/03/2012 13:26 9/03/2012 13:26
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Instead of entering =Now(), select the cell and then Ctrl+Shift+SemiColon. That will put the current time in the cell and it wont change afterwards.

Keyboard shortcuts you can use to insert the current time and date.

Current date: Press CTRL+SEMICOLON

Current time: Press CTRL+SHIFT+ SEMICOLON

Current date and time: Press CTRL+ SEMICOLON then SPACE then CTRL+SHIFT+ SEMICOLON


Or you could assign a macro to any Keyboard shortcut you want.

Code:
Sub Currently()
    ActiveCell.Value = Now
End Sub
 
Last edited:
Upvote 0
Thanks mate, thats great. Do you know, just out of curiosty, why the =now() cell effects the other one though?
 
Upvote 0
The =NOW() is a volatile formula. When the worksheet recalculates (triggered by a new formula entry), the NOW formula will update its' result.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,428
Messages
6,172,043
Members
452,444
Latest member
ShaImran193

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top