Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Possible to get a time/date when a cell is written?

Is it possible to get a date in a cell when another specific cell is "filled,
written, populated (not empty)"?
If yes, how?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 506
Default Possible to get a time/date when a cell is written?

Assume that if any value is entered in A1 cell then if you want to display
the todays date in some other cell then use this formula.

=IF(A1<"",TODAY(),"")

Instead of displaying todays date if you want to display a specific date
then use the formula like this€¦

=IF(A1<"","11-11-2009","")

The above will result text value. For getting the date values use the below

=IF(A1<"",VALUE("11-11-2009"),"")

Or

=IF(A1<"",--"11-11-2009","")

If this post helps, Click Yes!

--------------------
(Ms-Exl-Learner)
--------------------



"Twoflower" wrote:

Is it possible to get a date in a cell when another specific cell is "filled,
written, populated (not empty)"?
If yes, how?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Possible to get a time/date when a cell is written?

A note or two (based on Ms-Exl-Learner's response)
If you use the TODAY() function, it returns just the date. If you need both
date and time, then use NOW() instead.

Problem with both of them is that they are volatile; that is they will
always report the current date/time each time the worksheet is recalculated.
To get a permanent record of the date/time that won't change over time you
will have to resort to a VBA solution.

"Twoflower" wrote:

Is it possible to get a date in a cell when another specific cell is "filled,
written, populated (not empty)"?
If yes, how?

  #4   Report Post  
Posted to microsoft.public.excel.misc
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default Possible to get a time/date when a cell is written?

Another way.............

Private Sub Worksheet_Change(ByVal Target As Range)
'Macro inserts date in Column B for change in Column A
ActiveCell.Select
If ActiveCell.Column = 1 Then 'Limits macro action to column A
If Not Selection Is Nothing Then
Application.Selection.Offset(0, 1).Value = Now
End If
Else
End If
End Sub

Vaya con Dios,
Chuck, CABGx3




"Twoflower" wrote:

Is it possible to get a date in a cell when another specific cell is "filled,
written, populated (not empty)"?
If yes, how?

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
Adding time to date-time formatted cell tawtrey(remove this )@pacificfoods.com Excel Discussion (Misc queries) 4 August 12th 05 10:53 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Worksheet Functions 1 December 2nd 04 12:04 AM


All times are GMT +1. The time now is 10:54 PM.

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"