Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Earnest er
 
Posts: n/a
Default Can a conditional formula indicate "date added" next to a text?

In a long list, witrh emty rows, I need to add frequently new names, if there
is a way that a formula adds the date that name were added, it would be great!
Any ideas?
  #2   Report Post  
Rowan
 
Posts: n/a
Default

One way you could do this is with a worksheet change event. For example
if you wanted the date in column B every time data in column A was added
(or changed) then:

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ErrorHandler
Application.EnableEvents = False
If Target.Count = 1 And Target.Column = 1 Then
Cells(Target.Row, 2).Value = Date
End If
ErrorHandler:
Application.EnableEvents = True
End Sub

This is worksheet event code. Right click the sheet tab, select view
code and paste the code in there.

Hope this helps
Rowan
Earnest er wrote:
In a long list, witrh emty rows, I need to add frequently new names, if there
is a way that a formula adds the date that name were added, it would be great!
Any ideas?

  #3   Report Post  
Earnest er
 
Posts: n/a
Default

Thank you very much Rowan, it is solved!


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
Formula Help (Date) Chance224 Excel Discussion (Misc queries) 3 August 23rd 05 09:35 PM
Expired Date Formula Donna in Elkin, NC Excel Worksheet Functions 3 January 4th 05 04:43 PM
Date Formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 17th 04 07:25 PM
Date formula Robyn Bellanger Excel Discussion (Misc queries) 2 December 16th 04 12:41 AM
Formula to determine a future date based on criteria David Excel Worksheet Functions 2 December 15th 04 07:51 PM


All times are GMT +1. The time now is 09:27 PM.

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

About Us

"It's about Microsoft Excel"