Convert Format Date From Mm/Dd/Yyyy to Dd/Mm/Yyyy

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all

how to convert format date from mm/dd/yyyy change to dd/mm/yyyy
this my sample
checking date lhppu.xlsx
DE
1original dateconvert date
202/02/202302/02/2023
303/02/202302/03/2023
404/03/202303/04/2023
505/03/202303/05/2023
606/05/202305/06/2023
707/04/202304/07/2023
808/01/202301/08/2023
909/04/202304/09/2023
1010/02/202302/10/2023
1111/01/202301/11/2023
Sheet1


i have change into Regional language but not work
i hope someone give me solultion
please, do not use VBA

susant
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Upvote 1
I am pretty sure you do have LET, so try this:
PS: If you have to resort to a screenshot please include the Row & Column references, it creates less work for you in having to do a conversion and less chance of typing errors,
Note: the text format choice might seem counterintuitive but try it anyway

Also if it is a one off conversion Text To Columns and in the Data format section put Date and MDY might be quicker

20231216 US to UK Date format muhammad susanto.xlsx
DE
1original dateconvert date
212/16/202316/12/2023
310/30/202330/10/2023
412/02/20222/12/2022
53/02/20232/03/2023
Main
Cell Formulas
RangeFormula
E2:E5E2=LET(sDt,TEXT($D2,"dd/mm/yyyy"), DATE(RIGHT(sDt,4),LEFT(sDt,2),MID(sDt,4,2)))
 
Upvote 1
Solution
hi Dave..sorry
for this date your formula not work

16/12/2022 --- the result is 12/04/2023
27/12/2022 --- 12/03/2024
 
Upvote 0
I noticed you were missing dates with days >12 from your sample data.
1) what is your region date setting format, is it dd/mm/yyyy ?
ie if on new sheet in a cell you use Ctr+; (semi=colon) does it show 16/12/2023 ?

2) you said column D was in the format mm/dd/yyyy but if column D is showing 16/12/2022 & 27/12/2022 then it unlikely that it is using mm/dd/yyyy format
Can you check your dates back to the source and confirm that they are showing as mm/dd/yyyy ? (look for dates with days > 12 to be sure.)
 
Upvote 0
hello Alex

for my region date setting format is in dd/mm/yyyy and use semi colon
here new sample
original dateconvert date
16/12/202312/04/2024
10/30/2023#VALUE!
12/02/202202/12/2022
03/02/202302/03/2023


here the formula that i use
Excel Formula:
=DATE(YEAR(D2);DAY(D2);MONTH(D2))

how to fix this problem
 
Upvote 0
Is your original data really untouched ?
16/12/2023 is dd/mm/yyyy while 10/30/2023 is mm/dd/yyyy
That seems unlikely.

Where is the data coming from and how are you getting it into excel ?
 
Upvote 0
ups...sorry Alex, i think i confused..
here the new data correct
original dateconvert date
12/16/2023#VALUE!
10/30/2023#VALUE!
12/02/202202/12/2022
03/02/202302/03/2023
 
Upvote 0
Dates Time.xlsb
CDE
1original dateconvert date
2Text12/16/202316-Dec-23
3Text10/30/202330-Oct-23
4Date12-02-2202-Dec-22
5Date03-02-2302-Mar-23
6
5a
Cell Formulas
RangeFormula
E2:E3E2=--TEXTJOIN("-",1,INDEX(TEXTSPLIT(D2,"/",,1),{3,1,2}))
E4:E5E4=DATE(YEAR(D4),DAY(D4),MONTH(D4))
 
Upvote 0

Forum statistics

Threads
1,215,650
Messages
6,126,012
Members
449,280
Latest member
Miahr

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