Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

can someone help me with a simple duration calculation?

I created a simple workbook for calculating hours worked. I am entering the start time, end time, and using the DUR2HOURS formula to calculate the duration. For some reason the calculation is wrong. I am sure it is somethign simple, but I could not find an answer and it has been bothering me for a couple of days now. Here is an example of what is happening:


Start Time | End Time | Duration

7:15 AM 5:30 PM 10.25 (formula: =DUR2HOURS(ENDTIME - STARTTIME)


The duration in this example should be 10.15?


Thanks,


Nate

MacBook, Mac OS X (10.4.8)

Posted on Mar 20, 2013 7:25 PM

Reply
Question marked as Best reply

Posted on Mar 20, 2013 8:33 PM

Hi NorthrailDrive,


DUR2HOURS gives the value in decimal hours, not hours:minutes.


Your answer (in decimal hours) is correct (10.25, or ten and a quarter hours).


User uploaded file


Cell C2 contains the formula you need to calculate a duration:


=B2-A2


C2 is formatted as Duration h (hours) m (minutes). You can change the display to show 10:15


Regards,

Ian.

3 replies
Question marked as Best reply

Mar 20, 2013 8:33 PM in response to NorthrailDrive

Hi NorthrailDrive,


DUR2HOURS gives the value in decimal hours, not hours:minutes.


Your answer (in decimal hours) is correct (10.25, or ten and a quarter hours).


User uploaded file


Cell C2 contains the formula you need to calculate a duration:


=B2-A2


C2 is formatted as Duration h (hours) m (minutes). You can change the display to show 10:15


Regards,

Ian.

can someone help me with a simple duration calculation?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.