Apr 26, 2004 #1 RonCT Technical User Dec 11, 2003 37 0 0 US Can someone tell me the formula to convert this date 20040331 to 03/31/2004? Thanks!
Apr 26, 2004 1 #2 AnotherHiggins Technical User Nov 25, 2003 6,259 0 0 US Assuming that all dates contain 8 characters, Code: =(LEFT(RIGHT(A1,4),2) & "/" & RIGHT(A1,2) & "/" & LEFT(A1,4))*1 Then format the cell any way you wish, E.g. Format>Cells then choose Custom and type in MM/DD/YYYY. Hope that helps! John Upvote 0 Downvote
Assuming that all dates contain 8 characters, Code: =(LEFT(RIGHT(A1,4),2) & "/" & RIGHT(A1,2) & "/" & LEFT(A1,4))*1 Then format the cell any way you wish, E.g. Format>Cells then choose Custom and type in MM/DD/YYYY. Hope that helps! John
Apr 26, 2004 1 #3 klmorgan Technical User Aug 31, 2001 224 0 0 GB Not sure if you are looking for a VB solution but if not: Use Text to columns using fixed Then rebuild using concatenate and include a cell with / in it Regards Keith Upvote 0 Downvote
Not sure if you are looking for a VB solution but if not: Use Text to columns using fixed Then rebuild using concatenate and include a cell with / in it Regards Keith
Apr 26, 2004 1 #4 Corgano Technical User Oct 7, 2003 82 0 0 US The above will work but I'll also provide a way to put it in just "date" format. Assuming the data is in A1... =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2)) Upvote 0 Downvote
The above will work but I'll also provide a way to put it in just "date" format. Assuming the data is in A1... =DATE(LEFT(A1,4),MID(A1,5,2),RIGHT(A1,2))