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

MAP77

New Member
Joined
Sep 19, 2018
Messages
39
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

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
40,364
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
You could try using Find/Replace and replace the T with a space?
 
Upvote 0

MAP77

New Member
Joined
Sep 19, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
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

MAP77

New Member
Joined
Sep 19, 2018
Messages
39
Office Version
  1. 365
Platform
  1. Windows
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,190,812
Messages
5,983,052
Members
439,817
Latest member
jessicabrown

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
Top