In the example shown, the formula in D5 is: Note: make sure results are formatted as time. As a result, if you have a decimal value for 15 minutes, and a time in A1, you can add 15 minutes of time to the value in A1 like this:
With the TIME function
You can also add time values with the TIME function. To add 15 minutes to a time in A1, use: The TIME function saves you from having to remember the formula for converting decimal minutes to an Excel time. However, note that the TIME function will “roll over” back to zero when values exceed 24 hours. For example, 25 hours of time is 1500 minutes. Note the differences:
Subtracting minutes from time
You may get an error if you try to subtract minutes from a time, when the result is negative, because Excel doesn’t allow negative time values. One way to avoid this problem is to use a formula like this: Here MOD function takes care of the negative problem by using the MOD function to “flip” negative values to the required positive value. Another way to avoid this problem is to start with a time that includes a date value. This lets you subtract very large numbers of minutes without any danger of getting a negative result. If you don’t want to see the date displayed in the result, just apply a time-only number format.
Dave Bruns
Hi - I’m Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.