Date Formating Help

Joneye

Well-known Member
Joined
May 28, 2010
Messages
777
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
  2. MacOS
Hi All,

All im looking to learn more about is how can i use formlas to translate the below into DD/MM/YY example 10/01/2019 for the first line.


Jan 10, 2019 1:49 PM
Feb 6, 2020 4:49 PM
Feb 4, 2019 5:57 PM
Feb 25, 2019 6:34 PM
Feb 22, 2020 9:13 AM
Feb 2, 2019 3:31 PM
Feb 1, 2020 7:00 AM
Feb 1, 2020 6:55 AM
Dec 3, 2018 4:04 PM
Dec 21, 2018 4:47 PM
Dec 2, 2018 6:42 PM
Dec 18, 2019 5:03 AM
Dec 18, 2019 10:26 AM
Dec 16, 2017 11:39 AM
Dec 15, 2018 2:17 PM
Dec 14, 2017 4:03 PM
Aug 8, 2018 6:48 PM
Aug 8, 2018 2:24 PM
Aug 7, 2020 6:07 PM
Aug 7, 2020 5:53 PM
Aug 6, 2020 11:11 PM
Aug 4, 2020 4:30 PM
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
DateDate
Jan 10, 2019 1:49 PM10/01/2019
Feb 6, 2020 4:49 PM06/02/2020
Feb 4, 2019 5:57 PM04/02/2019
Feb 25, 2019 6:34 PM25/02/2019
Feb 22, 2020 9:13 AM22/02/2020
Feb 2, 2019 3:31 PM02/02/2019
Feb 1, 2020 7:00 AM01/02/2020
Feb 1, 2020 6:55 AM01/02/2020
Dec 3, 2018 4:04 PM03/12/2018
Dec 21, 2018 4:47 PM21/12/2018
Dec 2, 2018 6:42 PM02/12/2018
Dec 18, 2019 5:03 AM18/12/2019
Dec 18, 2019 10:26 AM18/12/2019
Dec 16, 2017 11:39 AM16/12/2017
Dec 15, 2018 2:17 PM15/12/2018
Dec 14, 2017 4:03 PM14/12/2017
Aug 8, 2018 6:48 PM08/08/2018
Aug 8, 2018 2:24 PM08/08/2018
Aug 7, 2020 6:07 PM07/08/2020
Aug 7, 2020 5:53 PM07/08/2020
Aug 6, 2020 11:11 PM06/08/2020
Aug 4, 2020 4:30 PM04/08/2020

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Parse = Table.TransformColumns(Source,{{"Date", each Date.From(DateTimeZone.From(_)), type date}})
in
    Parse
 
Upvote 0
Thanks, running Excel 2016 in mac, ill look at this however keen to see if its possible to do it in a formula?
 
Upvote 0
I don't know if your version XL on Mac contain Power Query, probably not.
Would be great if you will update your profile about Excel version and OS, less troubles and wasted posts
if you want formula you'll need to wait for someone else
 
Upvote 0
I don't know if your version XL on Mac contain Power Query, probably not.
Would be great if you will update your profile about Excel version and OS, less troubles and wasted posts
if you want formula you'll need to wait for someone else

Version 16.16.27 (201012) - applogies been a while since i've posted here. Opps
 
Upvote 0
I said profile (account details) not a post
pr.png
 
Upvote 0
Try this formula then format the result column with the date format that you want as it isn't entirely clear from your post as the highlighted formats below are different. ;)

translate the below into DD/MM/YY example 10/01/2019 for the first line.

20 11 04.xlsm
AB
1Jan 10, 2019 1:49 PM10/01/2019
2Feb 6, 2020 4:49 PM6/02/2020
3Feb 4, 2019 5:57 PM4/02/2019
4Feb 25, 2019 6:34 PM25/02/2019
5Feb 22, 2020 9:13 AM22/02/2020
6Feb 2, 2019 3:31 PM2/02/2019
7Feb 1, 2020 7:00 AM1/02/2020
8Feb 1, 2020 6:55 AM1/02/2020
9Dec 3, 2018 4:04 PM3/12/2018
10Dec 21, 2018 4:47 PM21/12/2018
11Dec 2, 2018 6:42 PM2/12/2018
12Dec 18, 2019 5:03 AM18/12/2019
13Dec 18, 2019 10:26 AM18/12/2019
14Dec 16, 2017 11:39 AM16/12/2017
15Dec 15, 2018 2:17 PM15/12/2018
16Dec 14, 2017 4:03 PM14/12/2017
17Aug 8, 2018 6:48 PM8/08/2018
18Aug 8, 2018 2:24 PM8/08/2018
19Aug 7, 2020 6:07 PM7/08/2020
20Aug 7, 2020 5:53 PM7/08/2020
21Aug 6, 2020 11:11 PM6/08/2020
22Aug 4, 2020 4:30 PM4/08/2020
Extract Date
Cell Formulas
RangeFormula
B1:B22B1=LEFT(SUBSTITUTE(REPLACE(MID(A1,5,2)&A1,6,3,""),",",""),10)+0


To update your profile click your user name at the top right of the forum and choose 'Account details'. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Try this formula then format the result column with the date format that you want as it isn't entirely clear from your post as the highlighted formats below are different. ;)



20 11 04.xlsm
AB
1Jan 10, 2019 1:49 PM10/01/2019
2Feb 6, 2020 4:49 PM6/02/2020
3Feb 4, 2019 5:57 PM4/02/2019
4Feb 25, 2019 6:34 PM25/02/2019
5Feb 22, 2020 9:13 AM22/02/2020
6Feb 2, 2019 3:31 PM2/02/2019
7Feb 1, 2020 7:00 AM1/02/2020
8Feb 1, 2020 6:55 AM1/02/2020
9Dec 3, 2018 4:04 PM3/12/2018
10Dec 21, 2018 4:47 PM21/12/2018
11Dec 2, 2018 6:42 PM2/12/2018
12Dec 18, 2019 5:03 AM18/12/2019
13Dec 18, 2019 10:26 AM18/12/2019
14Dec 16, 2017 11:39 AM16/12/2017
15Dec 15, 2018 2:17 PM15/12/2018
16Dec 14, 2017 4:03 PM14/12/2017
17Aug 8, 2018 6:48 PM8/08/2018
18Aug 8, 2018 2:24 PM8/08/2018
19Aug 7, 2020 6:07 PM7/08/2020
20Aug 7, 2020 5:53 PM7/08/2020
21Aug 6, 2020 11:11 PM6/08/2020
22Aug 4, 2020 4:30 PM4/08/2020
Extract Date
Cell Formulas
RangeFormula
B1:B22B1=LEFT(SUBSTITUTE(REPLACE(MID(A1,5,2)&A1,6,3,""),",",""),10)+0


To update your profile click your user name at the top right of the forum and choose 'Account details'. (Don’t forget to scroll down & ‘Save’)
Hi Peter,

Massive help and solved - really appreciated. Also updated my profile.
 
Upvote 0
You're welcome. Thanks for the follow-up. :) ... and for updating your profile. (y)
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,492
Members
448,967
Latest member
visheshkotha

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