ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   subtract time from now() (https://www.excelbanter.com/excel-programming/271106-subtract-time-now.html)

bob

subtract time from now()
 
how would i subtract 20 min from the now() function value.
my format is m/d/y/ h:m

thanks



Chip Pearson

subtract time from now()
 
Bob,

Try something like
=NOW()-TIME(0,20,0)
or, faster but less obvious,
=NOW()-0.0138888889

Format the cell as desired.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com




"bob" wrote in message
a...
how would i subtract 20 min from the now() function value.
my format is m/d/y/ h:m

thanks






All times are GMT +1. The time now is 10:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com