Formula to convert American Date to Uk Date

Sahil123

Well-known Member
Joined
Oct 31, 2011
Messages
673
Hi,

What formula is best to convert an American date to Uk date?

ie 8/13/2019 to 13/08/2019
8/7/2018 to 07/08/2018

thank you
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Is the date saved as text? If the date is saved in the Excel standard, then it's just a number, and you just choose what format you want to see it displayed in. If it's text, do you want the result as text, or as an Excel date? Can you always expect a 4-digit year, or will there sometimes be 2-digits?

This should work for text values:

=SUBSTITUTE(MID(A1,FIND("/",A1)+1,2)&"/"&LEFT(A1,2)&MID(A1,FIND("/",A1,4),5),"//","/")

Depending on your regional settings, you can wrap that in DATEVALUE to get an Excel date.
 
Upvote 0
Thank You Eric

The date was a text format like this

eg
8/7/2019-8/16/2019 (year always in 4 digits)
i managed to use some string functions to seperate them
to get 8/7/2019 and then added +0 at the end to convert into a date

So i guess the result ends up being in an excel date (the format is dd/mm/yyyy)
 
Upvote 0

Forum statistics

Threads
1,214,587
Messages
6,120,405
Members
448,958
Latest member
Hat4Life

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