Format Dates - Time Zones

nniedzielski

Well-known Member
Joined
Jan 8, 2016
Messages
598
Office Version
  1. 2019
Platform
  1. Windows
I have a sheet that has the dates formatted like this:

2021-06-09 17:00 America/Chicago
2021-06-10 17:00 America/New_York
2021-06-17 08:00 America/Indianapolis
2021-06-09 13:00 America/Chicago

what would be the quickest and easiest way to get this trimmed down to just the date? Removing time and the country and cities
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
How about
Excel Formula:
=LEFT(A2,10)+0
 
Upvote 0
How about
Excel Formula:
=LEFT(A2,10)+0
That works, but i have to insert a column, do this step,copy the formula down, copy and paste as value, ensure its formatted as a date. Is there a way to just remove the whole section from the column without any further steps?
 
Upvote 0
You can use text to columns, fixed width, set first break at position 10 & clear any others, next, select column 2 in the data preview & click do not import, Finish
 
Upvote 0
Solution

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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