Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
bob bob is offline
external usenet poster
 
Posts: 16
Default subtract time from now()

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

thanks


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default 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




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
Subtract Time israel New Users to Excel 9 August 31st 09 08:34 PM
Subtract hours from a time and get the correct time casey Excel Worksheet Functions 1 June 22nd 08 08:41 PM
how to increment time & subtract time? Crackles McFarly Excel Worksheet Functions 9 November 1st 07 10:10 PM
Add, subtract time ab3d4u[_2_] Excel Worksheet Functions 2 September 6th 07 04:56 AM
how do I add/subtract time when I'm going from PM to AM (ex. 11:4. tammyj Excel Worksheet Functions 1 March 15th 05 07:31 PM


All times are GMT +1. The time now is 01:41 AM.

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"