Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Time calculation in excel

I have a package which was picked at 04/07/2007 15:30 and we have
until 04/08/2007 12:00 to deliver the package.

The problem is I want the hours for delivery time to be calculated but
to exclude the hours from 17:00 until 08:00.

If I caculate with excel and it is delivery by 04/08/2007 09:30 it
will show hh:mm as 18:00 hours, I want it to only show 3 hours of time
that has elapsed.

Any help would be greatly appreciated.

JP

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,886
Default Time calculation in excel

Hi

With start time in A1 and end time in A2 either
=(A2-A1)*24-15
format cell as General or Number and you will see decimal hours as the
result
or
=A2-A1-15/24
format cell as hh:mm and you will see hours and minutes as the result.
--
Regards

Roger Govier


wrote in message
ups.com...
I have a package which was picked at 04/07/2007 15:30 and we have
until 04/08/2007 12:00 to deliver the package.

The problem is I want the hours for delivery time to be calculated but
to exclude the hours from 17:00 until 08:00.

If I caculate with excel and it is delivery by 04/08/2007 09:30 it
will show hh:mm as 18:00 hours, I want it to only show 3 hours of time
that has elapsed.

Any help would be greatly appreciated.

JP



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Calculation with Time MadBrotherMan Excel Discussion (Misc queries) 1 July 14th 08 05:17 PM
Excel time calculation STS Excel Worksheet Functions 3 July 11th 08 06:26 AM
Excel time calculation jc Excel Discussion (Misc queries) 2 November 7th 07 04:35 PM
time calculation excel Gate Keeper Excel Worksheet Functions 1 December 31st 04 08:27 AM
Excel - Time calculation Leyland Excel Discussion (Misc queries) 1 November 30th 04 07:43 PM


All times are GMT +1. The time now is 05:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"