How do I format and add minutes together ie. 3:35 and 4:47 correc.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to add minutes and seconds together. How do I format these times
correctly and then how do I add them together ie. 3.35 and 4.47 should give
me 8:22. Got me stumped. I am using a textbox with =sum(Time) the answers are
not right. I am using short time. I have used [m]:ss that is wrong also. Any
help would be appreiciated
 
Hi Alan,

It's always tougher or simpler than you'd think. Start every operation by
converting things into the smallest unit of measure; seconds in this case,
and do all of your math in seconds. On the way out you then divide the
seconds by the next higher unit of measure, etc.

HTH
 
Larry said:
Start every operation by
converting things into the smallest unit of measure; seconds in this case,
and do all of your math in seconds.

I think it would be better to convert the values to the correct data
type, i.e. DATETIME for Jet or Date for VBA, rather than convert to
INTEGER/Integer.

Jamie.

--
 

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