Entering current time and then finding the difference

JoeGill

New Member
Joined
Jan 20, 2005
Messages
1
I need to be able to do two things in my excel spreadsheet. I have three columns. One for and "in" point, one for an "out" point, and one for "trt" (total running time).

In the "in" and "out" column I need the short cut to enter current time (CTRL + SHIFT + ;) to enter the time in hh:mm:ss, it's default is to enter hh:mm:00.

Second, in the "trt" column I need excel to automatically calculate the difference in time between the two columns." e.g. I enter 14:20:15 in column a, and 14:22:15 in column b, column c automatically reads 2:00.

Any help is really appreciated. Thanks.
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
JoeGill said:
I need to be able to do two things in my excel spreadsheet. I have three columns. One for and "in" point, one for an "out" point, and one for "trt" (total running time).

In the "in" and "out" column I need the short cut to enter current time (CTRL + SHIFT + ;) to enter the time in hh:mm:ss, it's default is to enter hh:mm:00.

Second, in the "trt" column I need excel to automatically calculate the difference in time between the two columns." e.g. I enter 14:20:15 in column a, and 14:22:15 in column b, column c automatically reads 2:00.

Any help is really appreciated. Thanks.

Point1: Format the entires column to how you want it to show. The shortcut for entering should then assume this format

Point2: =b1-a1 with the cells in a proper time format.
 
Upvote 0

Forum statistics

Threads
1,214,920
Messages
6,122,272
Members
449,075
Latest member
staticfluids

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