Date Format in Excel

%3CLINGO-SUB%20id%3D%22lingo-sub-2906714%22%20slang%3D%22en-US%22%3EDate%20Format%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2906714%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20using%20Microsoft%20Office%20Home%20and%20Student%20Version%202016.%20My%20dates%20are%20currently%20formatted%20as%20such%3A%2010261953.%20I%20would%20simply%20like%20Excel%20to%20recognize%20this%20as%20a%20date%20so%20it%20can%20be%20sorted%20by%20date%2C%20and%20format%20it%20as%20mm%2Fdd%2Fyyyy.%20I%20have%20tried%20everything%20I%20can%20think%20of.%20There%20has%20to%20be%20a%20simple%20solution.%20Any%20suggestions%20would%20be%20appreciated.%20Attached%20is%20a%20sample%20of%20my%20file.%26nbsp%3BExcel%202016%20for%20Windows%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2906714%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2907004%22%20slang%3D%22en-US%22%3ERe%3A%20Date%20Format%20in%20Excel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2907004%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1201615%22%20target%3D%22_blank%22%3E%40totzelberger%3C%2FA%3E%26nbsp%3BSearch%20on-line%20for%20%22dates%20before%201900%20Excel%22%20and%20you%20will%20understand%20that%20working%20with%20pre-1900%20dates%20in%20Excel%20isn't%20very%20straight-forward.%20I%20haven't%20come%20across%20a%20method%20yet%20that%20allows%20you%20to%20enter%20numbers%20like%20yours%20and%20automatically%20transform%20them%20to%20%3CSTRONG%3E%3CEM%3Ereal%20dates%3C%2FEM%3E%3C%2FSTRONG%3E%3CEM%3E.%26nbsp%3B%3C%2FEM%3EWith%20text%20functions%20like%20LEFT%2C%20MID%2C%20RIGHT%2C%20CONCAT%20(or%20TEXTJOIN%20if%20your%20Excel%20version%20supports%20it)%2C%20you%20can%20fairly%20easily%20create%20text%20strings%20that%20look%20like%20dates%20in%20the%20mm%2Fdd%2Fyyyy%20format%2C%20but%20they%20will%20never%20be%20seen%20as%20real%20dates%20in%20Excel.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel-formula%22%3E%3CCODE%3E%3DTEXTJOIN(%22%2F%22%2C%2CTEXT(LEFT(C2%2CLEN(C2)-6)%2C%2200%22)%2CMID(C2%2CLEN(C2)-5%2C2)%2CRIGHT(C2%2C4))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3Eor%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-excel-formula%22%3E%3CCODE%3E%3DCONCAT(TEXT(LEFT(C2%2CLEN(C2)-6)%2C%2200%22)%2C%22%2F%22%2CMID(C2%2CLEN(C2)-5%2C2)%2C%22%2F%22%2CRIGHT(C2%2C4))%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEnter%20one%20of%20these%20in%20e.g.%20H2%20and%20copy%20down.%20This%20will%20turn%206091854%20into%2006%2F09%2F1854%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20if%20you%20want%20to%20perform%20calculations%20based%20on%20the%20dates%2C%20you'll%20need%20some%20more%20tricks%20as%20shown%20in%20the%20attached%20link.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.mrexcel.com%2Fexcel-tips%2Fdeal-with-dates-before-1900%2F%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.mrexcel.com%2Fexcel-tips%2Fdeal-with-dates-before-1900%2F%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I am using Microsoft Office Home and Student Version 2016. My dates are currently formatted as such: 10261953. I would simply like Excel to recognize this as a date so it can be sorted by date, and format it as mm/dd/yyyy. I have tried everything I can think of. There has to be a simple solution. Any suggestions would be appreciated. Attached is a sample of my file. Excel 2016 for Windows

1 Reply

@totzelberger Search on-line for "dates before 1900 Excel" and you will understand that working with pre-1900 dates in Excel isn't very straight-forward. I haven't come across a method yet that allows you to enter numbers like yours and automatically transform them to real datesWith text functions like LEFT, MID, RIGHT, CONCAT (or TEXTJOIN if your Excel version supports it), you can fairly easily create text strings that look like dates in the mm/dd/yyyy format, but they will never be seen as real dates in Excel.

=TEXTJOIN("/",,TEXT(LEFT(C2,LEN(C2)-6),"00"),MID(C2,LEN(C2)-5,2),RIGHT(C2,4))

or

=CONCAT(TEXT(LEFT(C2,LEN(C2)-6),"00"),"/",MID(C2,LEN(C2)-5,2),"/",RIGHT(C2,4))

 

Enter one of these in e.g. H2 and copy down. This will turn 6091854 into 06/09/1854

 

And if you want to perform calculations based on the dates, you'll need some more tricks as shown in the attached link.

 

https://www.mrexcel.com/excel-tips/deal-with-dates-before-1900/