You can use the TIME() function to add or subtract hours, minutes or seconds in Excel. The TIME function takes 3 parameters; HOURS, MINUTES, SECONDS. To use the TIME function, consider the following examples;
If Cell B14 Contains 12:00AM December 30, the formula =+B14-TIME(13,0,0) would produce 11:00PM December 29
or
If Cell B14 Contains 12:00AM December 30, the formula =+B14+TIME(1,0,0) would produce 1:00AM December 29
Simple?
No comments:
Post a Comment