Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Does anyone know how to create new functions?
I am trying to write a formula that will return the Date Modified for another cell. Does anyone know how to do this? I tried entering the formula =IF(C2="Complete", TODAY(), "") but that only returns me todays, date and not the date that I marked my task as complete. Can anyone help? :) |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi,
Am Mon, 19 Aug 2013 16:41:23 +0100 schrieb Jschock: I tried entering the formula =IF(C2="Complete", TODAY(), "") but that only returns me todays, date and not the date that I marked my task as complete. TODAY() is a volatile function and shows always today. That means the value is changing every new day. You have to write your date manually or with VBA. Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
#3
![]() |
|||
|
|||
![]() Quote:
How do I write the date with VBA? Can you explain this process to me - I've been trying to read about it but am getting a bit lost. |
#4
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi,
Am Mon, 19 Aug 2013 18:10:28 +0100 schrieb Jschock: How do I write the date with VBA? Can you explain this process to me - I've been trying to read about it but am getting a bit lost. if your "Complete" is in column C and the date should be in column D, then right click on sheet tab and paste the code into the code window: Private Sub Worksheet_Change(ByVal Target As Range) If Intersect(Target, Range("C:C")) Is _ Nothing Then Exit Sub If Target = "Complete" Then _ Target.Offset(0, 1) = Date End Sub In other case please post your table layout Regards Claus B. -- Win XP PRof SP2 / Vista Ultimate SP2 Office 2003 SP2 /2007 Ultimate SP2 |
#5
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
On Mon, 19 Aug 2013 16:41:23 +0100, Jschock wrote:
Does anyone know how to create new functions? Yes, of course. Google "excel user defined functions" (without quotes). -- Stan Brown, Oak Road Systems, Tompkins County, New York, USA http://OakRoadSystems.com Shikata ga nai... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Does Publisher 2013 have autoflow? | Excel Discussion (Misc queries) | |||
Update calendar for 2013 - 2020 with events from the database sheet | Excel Programming | |||
Creating VBA Functions When Creating Spreadsheet Via VBA? | Excel Programming | |||
creating a excel spread sheet using ffinancial functions | Excel Worksheet Functions | |||
I have had difficulty in creating user defined functions in Excel | Excel Worksheet Functions |