Converting Time When Formatting Doesn't Work

ocgk1513

New Member
Joined
Mar 5, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I am exporting data from a software program that uses general time (12 hour) into a sheet that has a formula that will only work with military time(24 hour). When I attempt to change the time format to 13:30:55 it does not work and remains at the 12 hour format it was imported at. Is there another way to change to military time that does not include the Format Cells option?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Is the file that is exported out formatted as HH:MM AM/PM, or just HH:MM? If the later how do you know it is a PM time and not an AM time?
A sample of the raw data would be extremely helpful.
 
Upvote 0

Forum statistics

Threads
1,215,655
Messages
6,126,054
Members
449,283
Latest member
GeisonGDC

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