Formula calculate minutes.

asyamonique

Well-known Member
Joined
Jan 29, 2008
Messages
1,280
Office Version
  1. 2013
Platform
  1. Windows
Code:
=(F3-E3)*1440
Hello,
Above formula gives me the time calulation as minutes of between two cells.
Can you please give me solution to fix that problem given below?

6:11 PM6:55 AM-676

<tbody>
</tbody>

should not show the minutes as negative!

Many Thanks
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
I wrote that backwards. 6:55AM is a smaller value than 6:11PM. In military time that would be 6:55 - 18:11
 
Upvote 0
6:11 is a lower value than 6:55. Written in military time it would be 6:55 - 18:11.
I am not sure what you are trying to say here as the formula you asked about already assumed that.

Did you try the formula I posted in Message #2 yet?
 
Upvote 0
I was answering the original posters question as to why the answer is negative. He stated that the answer should not be negative. He was subtracting a larger value (6:11PM/18:11) from a smaller value (6:55AM)
 
Upvote 0
I was answering the original posters question as to why the answer is negative. He stated that the answer should not be negative. He was subtracting a larger value (6:11PM/18:11) from a smaller value (6:55AM)
I am sorry... I mistook you for being the OP (your double post fooled me, but my fault for not looking back).
 
Upvote 0
If both times are always the same day, maybe ...

=(MAX(E3,F3)-MIN(E3,F3))*1440

M.
 
Upvote 0
1)10:55 PM12:55 AM120
2)10:55 PM12:55 AM1,320

<colgroup><col><col span="2"><col></colgroup><tbody>
</tbody>

1)
Code:
=MOD(1440*(F14-E14),1440)

2)
Code:
=(MAX(E15,F15)-MIN(E15,F15))*1440


Hello All,
Sorry for late post.
Rick's formula helped me so far.
Other formula gives wrong result.
Thanks.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,822
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top