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
 
If you put a ' in front of it to turn it to text then you get 05 April 2020 not 05 April 2018 (you have a 2 when it should be a 4).
Agreed that in my post 38
note final formula digit 2 for yy will be 4 if yyyy.

and of course C1 cell
Code:
[LEFT][COLOR=#333333][FONT=Verdana]04/05/18 HARRODS LONDON PURCHASE £6.76[/FONT][/COLOR][/LEFT]
is yy so 2 is ok.

Thanks Mark for advising code tags should be used around formulae. Still finding my way around!
I do get #VALUE! warnings when building code. Very useful to let me know formula isn't yet right!
VBA testing I dare not venture into. I just stick at it until I see each formula is working and then cross check date value such as 43224 for UK 4-May-2018 is correct and
Code:
=TEXT(B1,"ddd")
gives Friday.
My formula samples will only work in the US date environment so you may not be able to test them out!
I'm still puzzled why the same Kingsoft 2012 free spreadsheet reverses the mm/dd to dd/mm when I revert to Windows 7.
Thanks Mark and Spiller.
 
Last edited:
Upvote 0

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
As the site has stated their software only reverses the appearance and it doesn't correct the underlying value.
Btw, I haven't advised to use code/quote tags around formula, I do use them because I feel they make it more presentable/easier to read but my previous posts used Excel Jeanie.
 
Last edited:
Upvote 0
Easy to become confused by Excel dates not being what they appear to be!
I like to use =TEXT(B1,"ddd") in cell A1. Early warning if the wrong weekday is given!
Also entering = in a spare cell and clicking on the B1 date cell should give the five
digit underlying value (say 43224) which will not accord with the date in B1 if the dates
are playing tricks!
excel.png
 
Upvote 0
The givaway is the formula is TEXT so there is no underlying number, it is text.
 
Upvote 0

Forum statistics

Threads
1,225,495
Messages
6,185,320
Members
453,287
Latest member
Emeister

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