Time stamp on cell entries




Is it possible to record a time stamp of when an entry is made in a cell. I
want to put together a transcription test whereby a candidate would have to
type into a column a number of character strings from a typed sheet. I would
like to be able to record how long the data transcription takes.




You could use a worksheet change macro and put the time into the comment of
the cell.

Sub worksheet_change(ByVal target As Range)
If target.Comment Is Nothing Then
target.Comment.Visible = False
End If
target.Comment.Text Text:=Format(Now, "DD/MM/YY HH:MM:SS")
End Sub


Strictly speaking the date stamp in Excel is done py pressing Ctrl + ;
however if you would like to place a date stamp automatically when data is
entered into a specific cell the i find that the following formula works well.


This will place the current date and time e.g. 15/08/2008 13:57. The down
side is that every time the sheet recalculates i.e. any time enter or return
is pressed the date stamp is updated. The easyest way around this is to
create a circular statment. For example if when data is entered in to cell A1
you want to place a date stamp in B1 then the following formula will work.


However due to the circular reference which basically stop the cell
recalculating an error will be returned. To stop this go to Tools>Optoion
select the Calculation tab and tick the Itterations box. This will solve the
circular refernce problem.

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question