Subtract minutes from hours formula

Crowland775

New Member
Joined
Jul 22, 2022
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I am having an issue trying to find a formula to subtract minutes from hours based off the formulas I have used to sum the time remaining.

1659029925836.png


I am trying to sum the times in E5 and E6 into cell E3.

B5: =LEFT(B3,FIND(":",B3)-1)
C5: =LEFT(C3,FIND(":",C3)-1)
D5: =LEFT(D3,FIND(":",D3)-1)
E5: =SUM(D5*1)-(B5*1)
B6: =RIGHT(B3,2)
C6: =RIGHT(C3,2)
D6: =RIGHT(D3,2)
E6: =SUM(D6*1)-(B6*1)

E3: ?????
MX Projection.xlsx
ABCDE
1N888WU Current time3000-HR Start3000-HR EndTime Remaining
2N888WU Current time3000-HR Start3000-HR EndTime Remaining
3Time Value:14618:4913401:4116415:36
4
5Hours:1461813401164151797
6Minutes:494136-13
Sheet3
Cell Formulas
RangeFormula
B5:D5B5=LEFT(B3,FIND(":",B3)-1)
E5:E6E5=SUM(D5*1)-(B5*1)
B6:D6B6=RIGHT(B3,2)
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Try this

Book1
ABCDE
1N888WU Current time3000-HR Start3000-HR EndTime Remaining
2N888WU Current time3000-HR Start3000-HR EndTime Remaining
3Time Value:14618:4913401:4116415:361796:47
Sheet1
Cell Formulas
RangeFormula
E3E3=SUBSTITUTE(TEXT(DOLLARFR(DOLLARDE(SUBSTITUTE(D3,":","."),60)-DOLLARDE(SUBSTITUTE(B3,":","."),60),60),"0.00"),".",":")
 
Upvote 0
Solution
Try this

Book1
ABCDE
1N888WU Current time3000-HR Start3000-HR EndTime Remaining
2N888WU Current time3000-HR Start3000-HR EndTime Remaining
3Time Value:14618:4913401:4116415:361796:47
Sheet1
Cell Formulas
RangeFormula
E3E3=SUBSTITUTE(TEXT(DOLLARFR(DOLLARDE(SUBSTITUTE(D3,":","."),60)-DOLLARDE(SUBSTITUTE(B3,":","."),60),60),"0.00"),".",":")
THANK YOU, THANK YOU, THANK YOU!!!! IT WORKED!!! You helped me out so much.
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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