#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave
 
Posts: n/a
Default formulas

Example: Tool Rental

A customer rents a tool on a specific date and time. He returns it the next
day at a specific time. I would appreciate any assistance in obtaining a
formula for the following:

Cell A1 (Time Rented - 1100 Hours) Cell B1 (Date Rented - 01/01/2006) Cell
C1 (Time Returned - 1430 Hours) Cell D1 (Date Returned - 01/02/2006) Cell E1
(Total Time Out) for Tool in hours and minutes. As long as the date does not
change, I can get the formula to compute the length of time the tool is out,
however, when the date changes as shown above, I need to know how to figure
it to include the next calendar day. I'd prefer using military time as also
shown, so my end results in Cell E1 (in this example) would show the tool was
out for 27 Hours and 30 Minutes . Any assistance would be greatly appreciated.

Thank you
Dave

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default formulas

Hi Dave

Try
=(D1+C1)-(B1+A1)
Format the cell with the formula FormatcellsNumberCustom [hh]:mm

--
Regards

Roger Govier


"Dave" wrote in message
...
Example: Tool Rental

A customer rents a tool on a specific date and time. He returns it the
next
day at a specific time. I would appreciate any assistance in obtaining
a
formula for the following:

Cell A1 (Time Rented - 1100 Hours) Cell B1 (Date Rented - 01/01/2006)
Cell
C1 (Time Returned - 1430 Hours) Cell D1 (Date Returned - 01/02/2006)
Cell E1
(Total Time Out) for Tool in hours and minutes. As long as the date
does not
change, I can get the formula to compute the length of time the tool
is out,
however, when the date changes as shown above, I need to know how to
figure
it to include the next calendar day. I'd prefer using military time as
also
shown, so my end results in Cell E1 (in this example) would show the
tool was
out for 27 Hours and 30 Minutes . Any assistance would be greatly
appreciated.

Thank you
Dave



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
Countif formulas change after doing a sort Bob Smith Excel Worksheet Functions 3 January 3rd 06 11:17 PM
Array Formulas take waaaay too long... belly0fdesire Excel Worksheet Functions 7 August 8th 05 10:11 PM
Problem with named formula's nathan Excel Worksheet Functions 0 January 21st 05 04:07 PM
Formulas Stan Excel Worksheet Functions 3 January 21st 05 02:58 PM
calculating formulas for all workbooks in a folder Chad Excel Worksheet Functions 3 November 13th 04 05:22 PM


All times are GMT +1. The time now is 09:31 PM.

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

About Us

"It's about Microsoft Excel"