Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am using an "if" function & when it is true I want to return todays date,
all I can get it to return is =today(), please can someone suggest anything Thanks Sally |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I presume you have something like:
=IF(condition,TODAY(),"") Format the cell in date format. Hope this helps. Pete |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
my formula lokks like below;
=if(condition,""," ","=today()") if the cell is empty return blank if not return todays date, when using the above formula it returns =today() instead of the date.... -- Thanks Sally "Pete_UK" wrote: I presume you have something like: =IF(condition,TODAY(),"") Format the cell in date format. Hope this helps. Pete |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sally,
by putting =today() in quotes, you are turning this into text - the quotes are not need, neither is the equals sign. Also, you have too many parameters. Try something like: =IF(A1="","",TODAY()) which means if A1 is blank then return a blank, otherwise return today's date. Hope this helps. Pete |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi
It must be: =if(condition,""," ",today()) -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "Sally" wrote in message ... my formula lokks like below; =if(condition,""," ","=today()") if the cell is empty return blank if not return todays date, when using the above formula it returns =today() instead of the date.... -- Thanks Sally "Pete_UK" wrote: I presume you have something like: =IF(condition,TODAY(),"") Format the cell in date format. Hope this helps. Pete |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() Should just be something like =IF(A110,TODAY(),"") format as date -- daddylonglegs ------------------------------------------------------------------------ daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486 View this thread: http://www.excelforum.com/showthread...hreadid=539806 |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Some variation of this might be what you want. With it, the date will not
change tomorrow when you open the file........ Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Range("a1").Value = "True" Then ActiveCell.FormulaR1C1 = Date & " " & Time End If End Sub Vaya con Dios, Chuck, CABGx3 "Sally" wrote: I am using an "if" function & when it is true I want to return todays date, all I can get it to return is =today(), please can someone suggest anything Thanks Sally |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Can a function return a Null (blank ) value? Maybe a custom functi | Excel Worksheet Functions | |||
Date formula and if function | Excel Worksheet Functions | |||
Return a specified date when it falls within a range.... | Excel Discussion (Misc queries) | |||
Match Last Occurrence of two numbers and Return Date | Excel Worksheet Functions | |||
Return a date 6 months from a date in another cell | Excel Worksheet Functions |