Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CB CB is offline
external usenet poster
 
Posts: 97
Default Calculate Difference in Times with Considering Date

A B
A1 start time B1 end time
A2 007-05-19 13:48:49:295 B2 2007-05-20 01:42:31:593


Using The Date time format above I would like to get the difference in
Minutes between the strart and end time , Can you help me with a formula that
can handle this. I am using excel 2002 .

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Calculate Difference in Times with Considering Date

To get the interval in minutes between 2 properly formatted dates/times use:-

=((B1-A1)*24)*60 where B1 is the later time.

However, I've never seen a time format like this what are the last 3 digits
meant to denote?

2007-05-20 01:42:31:593

Mike

"CB" wrote:

A B
A1 start time B1 end time
A2 007-05-19 13:48:49:295 B2 2007-05-20 01:42:31:593


Using The Date time format above I would like to get the difference in
Minutes between the strart and end time , Can you help me with a formula that
can handle this. I am using excel 2002 .

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Calculate Difference in Times with Considering Date

XL times are stored as fractional days (i.e., 1 = 24 hours = 24*60
minutes), so one way:

=(B1-A1)*1440

Format as General, or another number format.

In article ,
CB wrote:

A B
A1 start time B1 end time
A2 007-05-19 13:48:49:295 B2 2007-05-20 01:42:31:593


Using The Date time format above I would like to get the difference in
Minutes between the strart and end time , Can you help me with a formula that
can handle this. I am using excel 2002 .

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CB CB is offline
external usenet poster
 
Posts: 97
Default Calculate Difference in Times with Considering Date

This won't work with the the date number format I indicated - can you help me
? How can I format this date and time to usable format?

"JE McGimpsey" wrote:

XL times are stored as fractional days (i.e., 1 = 24 hours = 24*60
minutes), so one way:

=(B1-A1)*1440

Format as General, or another number format.

In article ,
CB wrote:

A B
A1 start time B1 end time
A2 007-05-19 13:48:49:295 B2 2007-05-20 01:42:31:593


Using The Date time format above I would like to get the difference in
Minutes between the strart and end time , Can you help me with a formula that
can handle this. I am using excel 2002 .


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Calculate Difference in Times with Considering Date

One way:

=(SUBSTITUTE(B2,":",".",3)-SUBSTITUTE(A2,":",".",3))*1440

In article ,
CB wrote:

This won't work with the the date number format I indicated - can you help me
? How can I format this date and time to usable format?

"JE McGimpsey" wrote:

XL times are stored as fractional days (i.e., 1 = 24 hours = 24*60
minutes), so one way:

=(B1-A1)*1440

Format as General, or another number format.

In article ,
CB wrote:

A B
A1 start time B1 end time
A2 007-05-19 13:48:49:295 B2 2007-05-20 01:42:31:593


Using The Date time format above I would like to get the difference in
Minutes between the strart and end time , Can you help me with a formula
that
can handle this. I am using excel 2002 .


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
calculate difference between two times Ken Excel Worksheet Functions 6 July 21st 06 09:05 PM
Calculate difference between 2 date and times with average Aeryn635 Excel Discussion (Misc queries) 1 December 15th 05 02:56 AM
Calculate the difference two times Chi Excel Discussion (Misc queries) 2 July 16th 05 08:31 PM
Calculate the difference between two times Svetlana Excel Worksheet Functions 3 July 13th 05 10:02 PM
How can I calculate the difference between times without using th. KELSEY1022 Excel Worksheet Functions 12 February 2nd 05 05:06 PM


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

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"