Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() 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 |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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 "RichardSchollar" wrote: 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 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
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. "AndyO_UK" wrote: 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? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I think the right answer is very simple
=D3-C3 Then format using time format. "Joel" wrote: 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. "AndyO_UK" wrote: 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? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Joel
Excellent - works perfectly.....many many thanks Regards Andy "Joel" wrote: 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. "AndyO_UK" wrote: 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? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HOW TO I CALCULATE HOURS AND MINUTES? NEED FORMULA | Excel Worksheet Functions | |||
how to calculate the hours and minutes in excel | Excel Discussion (Misc queries) | |||
Convert hours and minutes in time format into fractions of hours.. | Excel Worksheet Functions | |||
How to calculate days:Hours:Minutes: | Excel Worksheet Functions | |||
calculate average hours and minutes | Excel Worksheet Functions |