Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Usage of TODAY() in formula
Message
 
To
10/01/2018 18:11:13
General information
Forum:
Microsoft Office
Category:
Excel
Environment versions
Microsoft Office:
Office 2016
OS:
Windows 10
Network:
Windows Server 2012
Miscellaneous
Thread ID:
01657091
Message ID:
01657099
Views:
46
This message has been marked as the solution to the initial question of the thread.
>I have this formula:
>
>=DATEDIF("2017/11/05","2018/01/10","d")*20
>
>Now, I would like the second date to be =TODAY(), but I do not think that syntax is supported.
>
>Anyone would know how to insert a recognition for today for the second date?

Either TODAY() or NOW() will work, provided that they are in the right order, that is the second date should always be greater or equal than the first one, weird...
=DATEDIF("2019/01/15", "2018/03/17", "d") => #NUM
=DATEDIF("2018/01/15", "2018/03/17", "d") => 61
=DATEDIF(TODAY(), "2018/03/17", "d") => 65
=DATEDIF(TODAY(), "2017/03/17", "d") => #NUM
=DATEDIF("2017/03/17", TODAY(), "d") => 300
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform