time log formating

anm767

New Member
Joined
Jul 24, 2017
Messages
3
Hi guys,

I'm having some difficulty inputting time into my worksheet.
After some research I used this formatting:

0":"00":"00 AM/PM

hoping to type "80000" and get "8:00:00 AM"

The goal is to simplify input of time, no semicolon etc. Unfortunately this doesn't work once the time gets to PM, no matter what time you type it comes out as AM, such as 15:00:00 AM.

Could you suggest a different formatting or some other way or how to fix this? Would really appreciate it.

Thank you,

Andrei.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
That doesn't work. As I've mentioned I get 15:00:00 AM and 20:00:00 AM

I am entering Start Time, End Time, Duration.

For Duration I'm subtracting Start from End time using formula:
TEXT(B2,"00\:00\:00")-TEXT(A2,"00\:00\:00")

[TABLE="width: 378"]
<colgroup><col width="126" style="width:95pt" span="3"> </colgroup><tbody>[TR]
[TD="class: xl20, width: 126, align: right"]8:00:00 AM[/TD]
[TD="class: xl20, width: 126, align: right"]20:00:00 AM[/TD]
[TD="width: 126, align: right"]720[/TD]
[/TR]
[TR]
[TD="class: xl20, width: 126, align: right"][/TD]
[TD="class: xl20, width: 126"][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
Not sure why you need AM/PM with the 24-hour notation, but if you want to see 15:00:00 PM, try this custom format:

[>=120000]0\:00\:00 P\M;0\:00\:00 A\M
 
Upvote 0
Not sure why you need AM/PM with the 24-hour notation, but if you want to see 15:00:00 PM, try this custom format:

[>=120000]0\:00\:00 P\M;0\:00\:00 A\M


Hi,

Thank you for the suggestion. Having 8:00:00 am and 1:00:00 PM would make more sense, but in my example it just doesn't change AM/PM whether you type in AM/PM time.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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