Swap characters from middle of date to beginning

jlarmen

New Member
Joined
Jun 16, 2021
Messages
3
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hello, I did a search and could not find a specific help for this. Jotform outputs my Excel so the dates are D/M/Y and I needed it M/D/Y. I formatted the column as date with the correct format, but the dates don't change.
master.xlsx
CD
1GenderChild's Birthday
2Female22-06-2015
3Female25-03-2008
4Female25-03-2008
5Male06-07-2010
6Female23-07-2008
7Male04-12-2007
Sheet1


I was trying to figure out how to move the M to the beginning using a formula. Any suggestions?
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Select col D & on the data tab, select Text to columns, delimited, next, uncheck all boxes, next, select DMY from the date drop down, Finish.
 
Upvote 0
Select col D & on the data tab, select Text to columns, delimited, next, uncheck all boxes, next, select DMY from the date drop down, Finish.
So this happened. It only worked for some, yet the formation on all of the is date.
master.xlsx
D
1Child's Birthday
222-06-2015
325-03-2008
425-03-2008
56/7/10
623-07-2008
74/12/07
819-11-2009
922-04-2017
1030-06-2009
111/9/15
1223-10-2010
133/6/11
143/3/11
1530-03-2012
1620-07-2009
1722-06-2012
185/1/11
197/7/08
2020-02-2012
2127-10-2013
2231-08-2016
2319-12-2009
2421-02-2014
2510/10/13
2615-06-2011
2725-08-2014
2827-07-2011
2912/6/09
3011/11/12
3118-12-2012
3211/12/09
336/1/14
346/3/13
3530-01-2014
3624-06-2015
3715-12-2010
3830-09-2009
3930-04-2008
408/3/10
4122-01-2013
4219-12-2007
4329-11-2015
4427-07-2010
453/2/09
463/1/11
473/1/11
4822-06-2015
4910/2/08
5020-06-2011
5121-09-2008
5213-11-201
5310/12/07
5421-11-2013
557/9/11
5628-10-2021
5731-01-2012
589/10/10
5925-03-2008
6022-09-2009
611/8/09
627/5/10
6316-03-2010
642/7/08
6520-04-2012
661/6/09
6722-11-2013
6831-03-2008
6929-10-2010
709/6/14
714/8/11
723/5/07
7313-11-2012
743/6/16
7522-06-2015
7630-10-2021
7726-08-2013
7814-06-2008
7913-01-2014
8020-10-2015
8111/2/11
824/2/13
8330-04-2014
8419-11-2012
851/8/13
8630-04-2012
8722-11-2013
8830-03-2012
8923-11-2007
903/6/11
9113-02-2013
9225-10-2009
937/7/16
943/3/14
9518-01-2013
9621-07-2017
Sheet1
 
Upvote 0
I figured out a workaround. Using the text to columns, I separated them using the "-" then concatenated them into another column in correct order using =CONCATENATE(F2,"/",E2,"/",G2).
 
Upvote 0
Solution
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,693
Messages
6,126,237
Members
449,304
Latest member
hagia_sofia

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