Format Cells to calculate hours and minutes taken to complete task

G

Guest

Hi

I have the following calculation in my column E:
=((D3-C3)*24)-(NETWORKDAYS(C3,D3)*24)+24

Column D is Date/Time order completed in format: dd/mm/yyyy hh:mm:ss
Column C is Date/Time order received in format: dd/mm/yyyy hh:mm:ss

Currently my results in column E return 0.17 which equates to 10 minutes - I
really want it to show 10 minutes and not 0.17

Can anyone help?
 
R

RichardSchollar

Well, you could modify your formula so that the final result is
divided by 24 (ie putting it back into Excel time) and then format the
formula cell as an Excel time format ie

[h]:mm

(if tasks may take over 24 hours)

Alternatively, you could multiply by 60 in which case you will end up
with an integer value representing the number of minutes to complete
the task.

Hope this helps!

Richard
 
G

Guest

Hi Richard

Grateful if you can tell me where in my formula I can make the changes you
suggest because if I put /24 at the end vice +24 and format cell to [h]:mm
then it returns 4:00

Any help would be greatly appreciated.

Thanks

Andy
 
G

Guest

Microsoft times are a multiple of days. I would not multiply by 24 hours.

=((D3-C3))-(NETWORKDAYS(C3,D3))+1

The above formula will give you an answer in days. Then format the cell
using a time format which should give you an accurate hh:mm format.
 

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

Top