Subtracting two time values

  • Thread starter Thread starter Guest
  • Start date Start date
Subtract one from the other using the date component as well as the time
component. Then multiply the resulting value (which will be in days) by 24
to get hours; 24 * 60 to get minutes; etc.

Neil
 
subtracting time values to be able to track how long each task takes.

Look up the DateDiff function in VBA help for all of the arguments.

=DateDiff("s",[Time1],[Time2])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top