Formula to convert date format from mm/dd/yyyy to dd/mm/yyyy

suprsnipes

Active Member
Joined
Apr 26, 2009
Messages
434
Hi,

I need help to convert the contents of cell A1 from American date format to European date format.

The current format is
mm/dd/yyyy

The format I require is
dd/mm/yyyy

Regards,
suprsnipes
 
Last edited:

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi,

Try the following in B1

Code:
=DATEVALUE(MID(A1,4,2)&"/"&LEFT(A1,2)&"/"&RIGHT(A1,2))

Then copy & paste as values and format as English date :)

HTH

Ian
 
Last edited:
Upvote 0
Thanks for the reply.

I tried the formula (I've tried a few others also), in this case it returns #VALUE!. I'm not too sure as to why. Just to clarify this is the formula I used.

Code:
=DATEVALUE(MID(A1,4,2)&"/"&LEFT(A1A9,2)&"/"&RIGHT(A1,2))

The contents of cell A1 shown in date format is as follows;
12/09/2010

however, when shown in general format it is;
40433

Hope I can fix this :)
 
Upvote 0
Your formula is slightly different from what Ian proposed.

In the center of your forumula you have Left(A1A9..... that should probably be Left(A1......

Double check this and try again.
Alan
 
Upvote 0
Sorry that was a typo ... just tried it again to make sure. I'm having the same problem. The below was the formula I attempted to use.

Code:
=DATEVALUE(MID(A1,4,2)&"/"&LEFT(A1,2)&"/"&RIGHT(A1,2))

Thanks for the reply.

I tried the formula (I've tried a few others also), in this case it returns #VALUE!. I'm not too sure as to why. Just to clarify this is the formula I used.

Code:
=DATEVALUE(MID(A1,4,2)&"/"&LEFT(A1A9,2)&"/"&RIGHT(A1,2))

The contents of cell A1 shown in date format is as follows;
12/09/2010

however, when shown in general format it is;
40433

Hope I can fix this :)
 
Upvote 0
Date serial 40433 is the 12th of September and you say it's displaying as 12/09/2010. That's dd/mm/yyyy format.

Isn't that what you want?
 
Upvote 0
If it's already a date serial it's been converted from whatever it was entered as, incorrectly. Where did your data come from exactly?
 
Upvote 0
That was the point I was trying to make: the cell contains 40433 which is the date serial for the 12th of September and the OP states it's displaying as 12/09/2010, so it must already be in dd/mm/yyyy format.

Unless I'm missing something blindingly obvious (which isn't beyond the bounds of impossibility).
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,843
Members
449,051
Latest member
excelquestion515

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