Subtracting Times & getting a negative answer

excel on the run

New Member
Joined
Aug 7, 2013
Messages
35
I need to subtract the "Actual Time,A4" from the "Time Remaining,C3" and if the "Actual Time,A4" is greater than
the "Planned Time,B4" I need to add that difference back on to the "Remaining Time,C3"
In the case below the answer would be "Time Remaining, C4" 3:15

Hope u can help, Thanking You ALL in advance

ABCD
1Hours:Minutes 00:00
2Actual TimePlanned TimeTime Remaining
33:35
40:500:35
5

<tbody>
</tbody>

EOTR,
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
=c3 - (a4 > b4) * a4 + b4
 
Upvote 0

Forum statistics

Threads
1,215,335
Messages
6,124,326
Members
449,155
Latest member
ravioli44

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