Changing aa.bb.yy formatted dates to dd/mm/yyyy

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












I have a spreadsheet in Excel where there are several entries in a date column input formatted as aa.bb.yy.



How can I change these to dd/mm/yyyy?



I haven't had any success so far with using Excel's regular date formatting functions as the aa.bb.yy input isn't being recognised as a date.







share|improve this question






















  • You need to create a custom date format.
    – Tyson
    Aug 28 at 10:45






  • 2




    You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
    – Marie
    Aug 28 at 15:31














up vote
3
down vote

favorite












I have a spreadsheet in Excel where there are several entries in a date column input formatted as aa.bb.yy.



How can I change these to dd/mm/yyyy?



I haven't had any success so far with using Excel's regular date formatting functions as the aa.bb.yy input isn't being recognised as a date.







share|improve this question






















  • You need to create a custom date format.
    – Tyson
    Aug 28 at 10:45






  • 2




    You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
    – Marie
    Aug 28 at 15:31












up vote
3
down vote

favorite









up vote
3
down vote

favorite











I have a spreadsheet in Excel where there are several entries in a date column input formatted as aa.bb.yy.



How can I change these to dd/mm/yyyy?



I haven't had any success so far with using Excel's regular date formatting functions as the aa.bb.yy input isn't being recognised as a date.







share|improve this question














I have a spreadsheet in Excel where there are several entries in a date column input formatted as aa.bb.yy.



How can I change these to dd/mm/yyyy?



I haven't had any success so far with using Excel's regular date formatting functions as the aa.bb.yy input isn't being recognised as a date.









share|improve this question













share|improve this question




share|improve this question








edited Aug 28 at 13:47









robinCTS

3,78641527




3,78641527










asked Aug 28 at 10:36









Danger Fourpence

1184




1184











  • You need to create a custom date format.
    – Tyson
    Aug 28 at 10:45






  • 2




    You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
    – Marie
    Aug 28 at 15:31
















  • You need to create a custom date format.
    – Tyson
    Aug 28 at 10:45






  • 2




    You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
    – Marie
    Aug 28 at 15:31















You need to create a custom date format.
– Tyson
Aug 28 at 10:45




You need to create a custom date format.
– Tyson
Aug 28 at 10:45




2




2




You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
– Marie
Aug 28 at 15:31




You should probably specify what you mean by aa.bb.yy format? dd.mm.yy? mm.dd.yy?
– Marie
Aug 28 at 15:31










1 Answer
1






active

oldest

votes

















up vote
8
down vote



accepted










If the format order is identical to your native date format, then you could use the standard text replace function (Ctrl+H), replace the . by - and Excel will re-parse them automatically.



Before replace:



enter image description here



After:
enter image description here



If it is not, then you can use DATEVALUE and other functions to extract the date components separately and combine them in the proper format.



Example: if xx.xx.yy is actually mm.dd.yy, then you can do:



=DATEVALUE("20"&RIGHT(A2,2)&"-"&LEFT(A2,2)&"-"&MID(A2,4,2))


This uses the YYYY-MM-DD format, which is platform- and region-independent. You'll get the raw (int) value though, so you'll need to choose the cell format manually, but after that it'll work.






share|improve this answer






















  • The first solution works. Thank you
    – Danger Fourpence
    Aug 28 at 11:20










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "3"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1352993%2fchanging-aa-bb-yy-formatted-dates-to-dd-mm-yyyy%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
8
down vote



accepted










If the format order is identical to your native date format, then you could use the standard text replace function (Ctrl+H), replace the . by - and Excel will re-parse them automatically.



Before replace:



enter image description here



After:
enter image description here



If it is not, then you can use DATEVALUE and other functions to extract the date components separately and combine them in the proper format.



Example: if xx.xx.yy is actually mm.dd.yy, then you can do:



=DATEVALUE("20"&RIGHT(A2,2)&"-"&LEFT(A2,2)&"-"&MID(A2,4,2))


This uses the YYYY-MM-DD format, which is platform- and region-independent. You'll get the raw (int) value though, so you'll need to choose the cell format manually, but after that it'll work.






share|improve this answer






















  • The first solution works. Thank you
    – Danger Fourpence
    Aug 28 at 11:20














up vote
8
down vote



accepted










If the format order is identical to your native date format, then you could use the standard text replace function (Ctrl+H), replace the . by - and Excel will re-parse them automatically.



Before replace:



enter image description here



After:
enter image description here



If it is not, then you can use DATEVALUE and other functions to extract the date components separately and combine them in the proper format.



Example: if xx.xx.yy is actually mm.dd.yy, then you can do:



=DATEVALUE("20"&RIGHT(A2,2)&"-"&LEFT(A2,2)&"-"&MID(A2,4,2))


This uses the YYYY-MM-DD format, which is platform- and region-independent. You'll get the raw (int) value though, so you'll need to choose the cell format manually, but after that it'll work.






share|improve this answer






















  • The first solution works. Thank you
    – Danger Fourpence
    Aug 28 at 11:20












up vote
8
down vote



accepted







up vote
8
down vote



accepted






If the format order is identical to your native date format, then you could use the standard text replace function (Ctrl+H), replace the . by - and Excel will re-parse them automatically.



Before replace:



enter image description here



After:
enter image description here



If it is not, then you can use DATEVALUE and other functions to extract the date components separately and combine them in the proper format.



Example: if xx.xx.yy is actually mm.dd.yy, then you can do:



=DATEVALUE("20"&RIGHT(A2,2)&"-"&LEFT(A2,2)&"-"&MID(A2,4,2))


This uses the YYYY-MM-DD format, which is platform- and region-independent. You'll get the raw (int) value though, so you'll need to choose the cell format manually, but after that it'll work.






share|improve this answer














If the format order is identical to your native date format, then you could use the standard text replace function (Ctrl+H), replace the . by - and Excel will re-parse them automatically.



Before replace:



enter image description here



After:
enter image description here



If it is not, then you can use DATEVALUE and other functions to extract the date components separately and combine them in the proper format.



Example: if xx.xx.yy is actually mm.dd.yy, then you can do:



=DATEVALUE("20"&RIGHT(A2,2)&"-"&LEFT(A2,2)&"-"&MID(A2,4,2))


This uses the YYYY-MM-DD format, which is platform- and region-independent. You'll get the raw (int) value though, so you'll need to choose the cell format manually, but after that it'll work.







share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 28 at 11:28









Twisty Impersonator

15.7k125884




15.7k125884










answered Aug 28 at 10:46









zdimension

450520




450520











  • The first solution works. Thank you
    – Danger Fourpence
    Aug 28 at 11:20
















  • The first solution works. Thank you
    – Danger Fourpence
    Aug 28 at 11:20















The first solution works. Thank you
– Danger Fourpence
Aug 28 at 11:20




The first solution works. Thank you
– Danger Fourpence
Aug 28 at 11:20

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1352993%2fchanging-aa-bb-yy-formatted-dates-to-dd-mm-yyyy%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

List of Gilmore Girls characters

Confectionery