Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ramsdesk
 
Posts: n/a
Default Difference of date & time in minutes


I have two columns with date+time format. I need the difference of this
in minutes.

For eg:

11/09/2004 10:00:00 AM <minus 11/09/2004 05:00:00 PM = 420 minutes

This should work even if dates are different.

Pls help.

TIA.


--
ramsdesk
------------------------------------------------------------------------
ramsdesk's Profile: http://www.excelforum.com/member.php...o&userid=15705
View this thread: http://www.excelforum.com/showthread...hreadid=276871

  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

Did you mean:

11/09/2004 05:00:00 PM <minus 11/09/2004 10:00:00 AM

=(A1-B1)*1440

Format as GENERAL.

If you did mean:

11/09/2004 10:00:00 AM <minus 11/09/2004 05:00:00 PM

=ABS(B1-A1)*1440

Biff

-----Original Message-----

I have two columns with date+time format. I need the

difference of this
in minutes.

For eg:

11/09/2004 10:00:00 AM <minus 11/09/2004 05:00:00 PM =

420 minutes

This should work even if dates are different.

Pls help.

TIA.


--
ramsdesk
----------------------------------------------------------

--------------
ramsdesk's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=15705
View this thread:

http://www.excelforum.com/showthread...hreadid=276871

.

  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

A1=11/09/2004 10:00:00 AM
B1=11/09/2004 05:00:00 PM
Into some cell, p.e. C1, enter the formula
=B1-A1
and format the cell with formula as Custom "[m]"

NB! Don't forget the result is in time format - i.e. 420 minutes is in excel
a number ~0.291666667. When you have to use somewhere as number of minutes
(420), multiply it with 24*60


--
Arvi Laanemets
(When sending e-mail, use address arvil<Attarkon.ee)


"ramsdesk" wrote in message
...

I have two columns with date+time format. I need the difference of this
in minutes.

For eg:

11/09/2004 10:00:00 AM <minus 11/09/2004 05:00:00 PM = 420 minutes

This should work even if dates are different.

Pls help.

TIA.


--
ramsdesk
------------------------------------------------------------------------
ramsdesk's Profile:

http://www.excelforum.com/member.php...o&userid=15705
View this thread: http://www.excelforum.com/showthread...hreadid=276871



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
Automatically enter date and time but only update once. PM New Users to Excel 3 January 21st 05 07:47 AM
Help - Information with time and date PM Excel Discussion (Misc queries) 4 January 6th 05 08:25 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM


All times are GMT +1. The time now is 05: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"