Subract one time from another time to get a time?

VAndre

New Member
Joined
Dec 7, 2005
Messages
42
I'd like to add/subtract some length of time from a particular time and produce a value as time.

For example:
10:00 PM - 2hours = 8:00 PM
or
10:00 PM + 3 hours = 1:00 AM

is there an easy way to do this?

Andre
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Divide the number to be subtracted by 24. e.g.

=A1 - 2/24

will return 8PM if A1 houses 10PM. Make sure the result cell is formatted as time.
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
P.S. If they are both times just use e.g.

=A1-B1 where A1 and B1 both hold times.
 

Forum statistics

Threads
1,136,266
Messages
5,674,722
Members
419,521
Latest member
Jasonnie

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
Top