#1   Report Post  
Posted to microsoft.public.excel.misc
FC FC is offline
external usenet poster
 
Posts: 130
Default ADDING MINUTES

With a stating time in A and finish time in B , I need a formula to add the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default ADDING MINUTES

=(B1-A1)*24*60

FORMAT C1 as General or number, NOT time

if the time can start before midnight and end after you can use


=MOD(B1-A1,1)*24*60


--


Regards,


Peo Sjoblom





"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.




  #3   Report Post  
Posted to microsoft.public.excel.misc
FC FC is offline
external usenet poster
 
Posts: 130
Default ADDING MINUTES

Thanks a lot, appreciate it.

"Peo Sjoblom" wrote:

=(B1-A1)*24*60

FORMAT C1 as General or number, NOT time

if the time can start before midnight and end after you can use


=MOD(B1-A1,1)*24*60


--


Regards,


Peo Sjoblom





"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.





  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default ADDING MINUTES

Assuming cells A1 and B1 contain only times (no dates) put this formula in
C1 =(IF(B1<A1,B1+1,B1)-A1)*24*60

"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default ADDING MINUTES - addendum

Formula assumes A1 is start time and B1 is end time

"Wondering" wrote in message
et...
Assuming cells A1 and B1 contain only times (no dates) put this formula in
C1 =(IF(B1<A1,B1+1,B1)-A1)*24*60

"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.








  #6   Report Post  
Posted to microsoft.public.excel.misc
FC FC is offline
external usenet poster
 
Posts: 130
Default ADDING MINUTES

THANKS

"Wondering" wrote:

Assuming cells A1 and B1 contain only times (no dates) put this formula in
C1 =(IF(B1<A1,B1+1,B1)-A1)*24*60

"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default ADDING MINUTES

No need to use IF in this case since a Boolean value used in a calculation
defaults to either 1 or 0

=(B1-A1+(B1<A1))*24*60

will suffice


--

Regards,

Peo Sjoblom





"Wondering" wrote in message
et...
Assuming cells A1 and B1 contain only times (no dates) put this formula in
C1 =(IF(B1<A1,B1+1,B1)-A1)*24*60

"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 75
Default ADDING MINUTES

Just using John Walkenbach's formula

"Peo Sjoblom" wrote in message
...
No need to use IF in this case since a Boolean value used in a calculation
defaults to either 1 or 0

=(B1-A1+(B1<A1))*24*60

will suffice


--

Regards,

Peo Sjoblom





"Wondering" wrote in message
et...
Assuming cells A1 and B1 contain only times (no dates) put this formula
in C1 =(IF(B1<A1,B1+1,B1)-A1)*24*60

"FC" wrote in message
...
With a stating time in A and finish time in B , I need a formula to add
the
total minutes used to put it in C.
A B C

1 8:15 9:00 Formula

C1 will be 45 in minutes please. Thanks for the help.








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
Adding up hours and minutes Dave Excel Discussion (Misc queries) 19 May 6th 10 06:06 PM
Adding hours and minutes Patrick Excel Worksheet Functions 16 June 18th 08 09:24 PM
Adding minutes. Steved Excel Worksheet Functions 2 May 25th 06 12:26 AM
Adding hours and minutes doyouknow2005 Excel Discussion (Misc queries) 2 July 10th 05 10:08 PM
adding hours and minutes Tricia New Users to Excel 2 November 27th 04 12:29 AM


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