Time Formats

dbarrow

New Member
Joined
Nov 22, 2006
Messages
26
have a co worker who would like to display time in an excel spread sheet, in 12 hour format -but without AM or PM following the time. Currently when she tries it she gets military time (23:20pm) what she wants is 11:20 Have tried several ways to format the cell but am not finding a good solution. Any ideas or suggestions are appreciated.
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Can she manipulate the time value? Enter the formula below next to the time value and then format as hh:mm; should work, though its ugly. Assumes the initial value (23:20) is in cell A1.

=IF(ROUND(A1,0)>A1,A1-0.5,A1)
 
Upvote 0
With a formula:

=MOD(A1-0.5,0.5)

It will make all times AM however, in order to display as you want.

However both these formulas would make 12:01 PM 0:01
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

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