Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Calculating the number of minutes between days

I need to calculate the number of minutes between two times on two different
days.

For example:

2/6/2008 12:35 p.m.
2/8/2008 4:17 a.m.

Any thoughts or direction I should go?

Thanks much in advance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Calculating the number of minutes between days

=A1-B1, Format Custom as [m]

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jennifer Duffer" wrote in message
...
|I need to calculate the number of minutes between two times on two different
| days.
|
| For example:
|
| 2/6/2008 12:35 p.m.
| 2/8/2008 4:17 a.m.
|
| Any thoughts or direction I should go?
|
| Thanks much in advance!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Calculating the number of minutes between days

=A1-B1, Format Custom as [m] will work fine but remember to format your
source cells how you want them to display. Do not type am or pm if entering
time.
--
joec


"Niek Otten" wrote:

=A1-B1, Format Custom as [m]

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Jennifer Duffer" wrote in message
...
|I need to calculate the number of minutes between two times on two different
| days.
|
| For example:
|
| 2/6/2008 12:35 p.m.
| 2/8/2008 4:17 a.m.
|
| Any thoughts or direction I should go?
|
| Thanks much in advance!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Calculating the number of minutes between days

Why not, Joe? If the OP wants 11:00 PM for one of her input cells and types
in only 11:00, the time would be treated as 11:00 instead of 23:00.
I happen to prefer using 24 hour time, but there's no reason not to use 12
hour times.
--
David Biddulph

"joec" wrote in message
...
=A1-B1, Format Custom as [m] will work fine but remember to format your
source cells how you want them to display. Do not type am or pm if
entering
time.
--
joec



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default Calculating the number of minutes between days

=(A2-A1)*1440

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Jennifer Duffer" wrote in
message ...
I need to calculate the number of minutes between two times on two
different
days.

For example:

2/6/2008 12:35 p.m.
2/8/2008 4:17 a.m.

Any thoughts or direction I should go?

Thanks much in advance!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Calculating the number of minutes between days


=(SUBSTITUTE(A1,".","")-SUBSTITUTE(A2,".",""))*1440

assuming A1 and A2 contain the 2 dates

If the dates have no decimal points around am and pm you could simply
subtract one from another and multiply the result by 1440

"Jennifer Duffer" wrote:

I need to calculate the number of minutes between two times on two different
days.

For example:

2/6/2008 12:35 p.m.
2/8/2008 4:17 a.m.

Any thoughts or direction I should go?

Thanks much in advance!

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 number of days between first day to last day, inclusiv Damian Excel Worksheet Functions 1 November 23rd 07 06:30 PM
Calculating number of hours and minutes Neville Excel Discussion (Misc queries) 6 May 13th 07 04:58 PM
Report a given number in days:hours:minutes ? TigerLord Excel Discussion (Misc queries) 2 March 26th 06 08:25 PM
Calculating Total Number of Minutes in a Clock Setting Larry H Excel Discussion (Misc queries) 3 October 7th 05 11:25 PM
Calculating number of days Carlos Excel Worksheet Functions 3 March 1st 05 08:23 PM


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