Help with a Formula to Flip Date Format

tbruce

Board Regular
Joined
Dec 9, 2013
Messages
77
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I am trying to come up with a formula to flip the date format in a column/cell specific to the following:

2017/09/07 01:19:52(GMT -4)

I need the date in the following mm/dd/yyyy so it would appear like this:

09/07/2017 01:19:52(GMT -4)

I have 2,000+ lines of data that need this conversion. Any help with a formula would be much appreciated.


Much thanks to the great minds out there.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Try splitting the data with the 'Text to Columns' feature under the Data tab. Then add the following formula the the right of the now 2 columns with your split data (adjusting the cell1 and cell2 mentions for the actual cell references):

=TEXT(cell1,"mm/dd/yyyy ") & cell2

Then you can drag the formula down. Hope this helps!
 
Upvote 0
Hi,

Another formula option without the extra column:


Book1
AB
12017/09/07 01:19:52(GMT -4)09/07/2017 01:19:52(GMT -4)
Sheet1
Cell Formulas
RangeFormula
B1=TEXT(LEFT(A1,FIND(" ",A1)),"mm/dd/yyyy ")&RIGHT(A1,LEN(A1)-FIND(" ",A1))


Formula copied down as needed.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,191
Members
453,021
Latest member
pingpong7117

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