Google Spreadsheet

Normally, when I enter times in Google spreadsheet as 22:00:00 the display automatically switches to 10:00 PMbut sometimes it's not converting.

How can I set a common format for times in Google spreadsheet? I need this format: 8:00 PM.

有帮助吗?

解决方案

Select all ranges that you wish to have this time format and go to Format > Number > More formats to select the one of your choice. (I think the one you want is near the bottom and shows as 3:59 PM.)

其他提示

If you want to format a time with TEXT() to display with am/pm you can use:

=TEXT(DateField, "HAM/PM")

To get a results like

1am
1pm
10pm
12am

Use UPPER() to make it uppercase.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top