Difficulty with calculated column

nmss18

Active Member
Joined
Jun 28, 2011
Messages
312
Hello,
I have a column with date & time data in this format:
2012-02-01 00:12:05.637
I need to separate the date from the time, and for the time, I just need the hours,minutes,seconds. Sor using the example above, I want to create a calculated column with the time data to look like this:
00:12:05

Any assiatance would be appreciated.
Thanks,
Nathan
<!-- / message --><!-- edit note -->
 
Silly question but is the length 23 for every entry? You only need one to be differnet and you get an error on the whole column. Just click the table heading to filter and see if only one value. I've had similar issues and found one entry was rogue. I think when this happens the error box shows #Error and also "show first error" or similar wording which also indicates its not a formaula error but an input data error and will take you to the first offending field.

Mike
 
Upvote 0

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,223,275
Messages
6,171,123
Members
452,381
Latest member
Nova88

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