ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Difference in Time (https://www.excelbanter.com/excel-discussion-misc-queries/207396-difference-time.html)

LINDA

Difference in Time
 
A request came in on 10/21/08 8:00 AM and went out 10/27/08 10:00 AM. I need
to figure the amount of time it took excluding weekends and holidays. Thanks.

Gary Brown[_4_]

Difference in Time
 
Assuming:
A1 = 10/21/2008 8:00:00 AM
A2 = 10/27/2008 10:00:00 AM
Formula that returns # of minutes (which you can then change to whatever
measurement you want) =
=((NETWORKDAYS(A1,A2)-1)*24*60)+((MOD(A2,1)-MOD(A1,1))*24*60)
or
5,880 minutes


--
Hope this helps.
Thanks in advance for your feedback.
Gary Brown


"Linda" wrote:

A request came in on 10/21/08 8:00 AM and went out 10/27/08 10:00 AM. I need
to figure the amount of time it took excluding weekends and holidays. Thanks.



All times are GMT +1. The time now is 04:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com