Working out Time difference

ads_1471

Board Regular
Joined
Apr 19, 2016
Messages
58
I have the below that I am trying to work out.

People have 15:00 minute breaks at present. I have data of how long people have taken. So want to know the difference in time against 15 minutes.

Person 1 - 9:53
Person 2 - 20:24
Person 3 - 15:00
Person 4 - 12:30

And so on. At present I get ##### for when someone is below 15:00.

Please help as driving me nuts
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
If you go to File > Options > Advanced and check "Use 1904 date system" then all negative time values should be now displayed correctly:

1578322037308.png


Otherwise you'd need to use some sort of conditional formula, like:
=IF(A1>TIME(0,15,0),TEXT(ABS(TIME(0,15,0)-A1),"-hh:mm:ss"),TIME(0,15,0)-A1)

Hope it works for you.
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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