Issue formatting Date and Time Format, remove the 'T'

MAP77

Board Regular
Joined
Sep 19, 2018
Messages
60
Office Version
  1. 365
Platform
  1. Windows
Hi all.
I have thousands of rows of interval data where the date/time column is written like this: 2020-10-26T00:00:00. I would like the data to read dd/mm/yyyy hh:mm:ss. I tried doing a custom date and time format as per my requirement but it wont convert it. The 'T' in the original data seems to be the issue. If I delete the 'T' and then apply the custom date and time format, it works.
Any idea how to do this in bulk?
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
You could try using Find/Replace and replace the T with a space?
 
Upvote 0
You could try using Find/Replace and replace the T with a space?
Interesting. I did try it. Seems to work ok if you replace one at a time. If you hit 'replace all' it doesn't replace any of the ones in these columns but removes all the 'Ts' from the column headings.
 
Upvote 0
FYI. I have just discovered that using the replace function is the tool I need to do this :)
 
Upvote 0
Solution

Forum statistics

Threads
1,213,558
Messages
6,114,296
Members
448,564
Latest member
ED38

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