Subtract hours from time

This tutorial shows how to subtract hours from time using an Excel formula, with the MOD function

EXCEL FORMULA 1. Subtract hours from time

EXCEL

Hard coded formula
Subtract hours from time
Cell reference formula
Subtract hours from time
=MOD(B5-(1/24),1)
=MOD(B5-(C5/24),1)
GENERIC FORMULA

=MOD(time-(hours/24),1)

ARGUMENTS
time: The time to subtract hours from.
hours: Number of hours to subtract from the time.

GENERIC FORMULA

=MOD(time-(hours/24),1)

ARGUMENTS
time: The time to subtract hours from.
hours: Number of hours to subtract from the time.

EXPLANATION

This formula uses the MOD function to subtract a number of hours from a specific time.

Click on either the Hard Coded or Cell Reference button to view the formula that has a number of hours that are to be subtracted from a specific time directly entered into the formula or referenced to a specific cell.

RELATED TOPICS

Related Topic Description Related Topic and Description
How to add hours to time

RELATED FUNCTIONS

Related Functions Description Related Functions and Description
The Excel MOD function returns the remainder after dividing a number by the divisor