Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default date/time formula

I need help?
I have 4 pieces of individual data.
A1= date taken (2/6/12)
B1= time taken (07:44)
C1= on site date (3/6/12)
D1= On site time (13:02)

How do i calculate the hours in between the time order was taken and time on site. And yes the dates are correct, the number should be high.
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by briandel7 View Post
I need help?
I have 4 pieces of individual data.
A1= date taken (2/6/12)
B1= time taken (07:44)
C1= on site date (3/6/12)
D1= On site time (13:02)

How do i calculate the hours in between the time order was taken and time on site. And yes the dates are correct, the number should be high.
Hi,

Try entering =(C1-A1)+(D1-B1) into the cell you wish the result to show in and then custom format that cell to [hh]:mm

Make sure you include the square brackets to show the correct number of hours rather than it starting from zero again if it's over 24 hrs.

Hope that helps.

S.
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
Calculating Time with Date/Time checking in formula cmatera Excel Worksheet Functions 2 August 11th 08 01:38 PM
Regarding Formula for Date and time Samuel Jacob Excel Worksheet Functions 1 July 29th 08 09:01 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Date and Time Formula Sho Excel Worksheet Functions 6 May 20th 05 05:30 PM
time and date formula Brian Excel Worksheet Functions 3 November 30th 04 02:59 AM


All times are GMT +1. The time now is 07:10 AM.

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"