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

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,089
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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Upvote 1
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
hi Dave..

for E2:E3, is not work the result #NAME?.
i think "Textsplit" not available in office 2021
for this, i'm using office 2021.
have you any idea?
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

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