Adding and subtracting hh:mm

kues

New Member
Joined
Mar 27, 2009
Messages
10
Good day...

How can I add or subtract 12h to a field that contains a time in hh:mm?

Thanks folks.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
With your original time in A1, and the amount of hours to add in B1.
Format B1 as [h]:mm

Excel Workbook
ABCD
112:5212*24:52
Sheet1





If you want to subtract hours put negative hours in B1, not surpassing the amount of original hours.

Excel Workbook
ABCD
112:52-75:52
Sheet1
 
Last edited:
Upvote 0
What is in F7 and what do you expect as the answer?

Try this...

=F7+(TIMEVALUE("12:00") > F7)-TIMEVALUE("12:00")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,085
Members
449,064
Latest member
MattDRT

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