Convert American dates to British dates

Cara

New Member
Joined
Apr 11, 2003
Messages
12
Is it possible to use a formula or cell formatting in Excel to convert a column of American dates mm/dd/yyyy to British formats dd/mm/yyyyy.
I have tried the conventional custom formatting but it doesn't modify the existing dates
Thanks
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
@Peter

I am not sure that your formula is correct, I tested it an I don't always return the expected.

I did a different one, even if it looks much complex:

=IFERROR(IF(CELL("prefix",A1)="'",DAY(A1)&"/"&MONTH(A1)&"/"&YEAR(A1),MONTH(A1)&"/"&DAY(A1)&"/"&YEAR(A1)),"")
 
Upvote 0
You could try Data>Text to Columns...
On the third step select MDY from the column format dropdown .
 
Upvote 0
The reason for that formula is that american dates are align on the right while the UK ones are aligned on the left (if no formatting has been applyed and if the dates are mixed)
I got this problem importing transaction with date filed from another software.
 
Upvote 0
Norie, that solution doesn't sort out the problem and you can get in trouble doing further calculation or things like running a Pivot Table.
The dates still remain as American.

If you are lucky that the American dates are align on the right and the UK on the left, try to test my formula :)
 
Upvote 0
What about something like this? I tested with 'American' dates in A1:A5 and put the 'British' dates in column C.

Code:
Dim i As Integer
    For i = 1 To 5
        Range("C" & i).Value = Format(Range("A" & i).Value, "dd-mm-yyyy")
    Next i
 
Upvote 0
@doofusboy

good job but is not working if you have mixed dates

@jeffreybrown

your formula returns #value ...at least in my case...

anyone tested my formula?
 
Upvote 0

Forum statistics

Threads
1,225,487
Messages
6,185,272
Members
453,285
Latest member
Wullay

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