Aug 16, 2007 #1 2Plan MIS Mar 29, 2005 55 US Is there an easy way to convert this date '8/15/2007' to '081507'? The dates are MS Excel.
Aug 16, 2007 #2 S SkipVought Programmer Dec 4, 2001 47,492 US Hi, If you have REAL DATES, then use the TEXT function... [tt] =TEXT(yourdateref,"mmddyy") [/tt] Skip, When a wee mystic is on the loose.. It's a Small Medium at Large! Upvote 0 Downvote
Hi, If you have REAL DATES, then use the TEXT function... [tt] =TEXT(yourdateref,"mmddyy") [/tt] Skip, When a wee mystic is on the loose.. It's a Small Medium at Large!
Aug 16, 2007 #3 S SkipVought Programmer Dec 4, 2001 47,492 US ...FYI, mmddyy will NOT sort as expected. Skip, When a wee mystic is on the loose.. It's a Small Medium at Large! Upvote 0 Downvote
...FYI, mmddyy will NOT sort as expected. Skip, When a wee mystic is on the loose.. It's a Small Medium at Large!
Aug 16, 2007 #4 S SkipVought Programmer Dec 4, 2001 47,492 US ...you also could format your date field/column as Format > Cells - Number Tab - Custom... [tt] "mmddyy" [/tt] Skip, When a wee mystic is on the loose.. It's a Small Medium at Large! Upvote 0 Downvote
...you also could format your date field/column as Format > Cells - Number Tab - Custom... [tt] "mmddyy" [/tt] Skip, When a wee mystic is on the loose.. It's a Small Medium at Large!
Aug 16, 2007 Thread starter #5 2Plan MIS Mar 29, 2005 55 US Works great! You guys are goood. Thanks. Upvote 0 Downvote
Aug 16, 2007 #6 AnotherHiggins Technical User Nov 25, 2003 6,259 US As Skip pointed out, sorting on mmddyy when it is stored as text won't work as expected. Consider the format YYYYMMDD. That will sort by date, even if stored as text. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ 181-2886 before posting. Upvote 0 Downvote
As Skip pointed out, sorting on mmddyy when it is stored as text won't work as expected. Consider the format YYYYMMDD. That will sort by date, even if stored as text. [tt]_____ [blue]-John[/blue][/tt] [tab][red]The plural of anecdote is not data[/red] Help us help you. Please read FAQ 181-2886 before posting.