Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.newusers
|
|||
|
|||
![]()
i have a date format like this - 13.02.2007(dd.mm.yyyy)
i like to convert it to date so that i can sort it by date. i already used the format cells to change the category type to date but nothings happen. i also replace the dot(.) to slash(/) but the excel read it as mm.dd.yyyy can someone give me a tips? thanks! |
#2
![]()
Posted to microsoft.public.excel,microsoft.public.excel.newusers
|
|||
|
|||
![]()
Terminology !
Dates are stored as numbers by Excel in a cell Format allows you to alter the way Excel displays them. If it was originally ente4red as 13.02.2007 then that is how it will be stored ie as TEXT Now when you convert the Dots to / with say Replace or manual edit Excel will then treat the new text as input and as it is now in Date ready format it will accept it. If your original text entered data was dd.mm.yyyy, excel doesn't know that and as it has US style Date enabled (mm/dd/yyyy) it treats it as such. If you alter your regional settings to UK (dd/mm/yyyy) format before changing the dots to slashes it should work otherwise you will have to reconstruct the date from the components of the the original ie a1 = "13.02.2007" b1 = date(right(a1,4),mid(a1,4,2),left(a1,2)) Steve On Thu, 25 Jan 2007 06:14:11 -0000, jjuan wrote: i have a date format like this - 13.02.2007(dd.mm.yyyy) i like to convert it to date so that i can sort it by date. i already used the format cells to change the category type to date but nothings happen. i also replace the dot(.) to slash(/) but the excel read it as mm.dd.yyyy can someone give me a tips? thanks! -- Steve (3) |
#3
![]()
Posted to microsoft.public.excel.newusers,microsoft.public.excel
|
|||
|
|||
![]()
Data Text to Columns Next Next Under Column data format select Date,
in the drop down select DMY "jjuan" wrote: i have a date format like this - 13.02.2007(dd.mm.yyyy) i like to convert it to date so that i can sort it by date. i already used the format cells to change the category type to date but nothings happen. i also replace the dot(.) to slash(/) but the excel read it as mm.dd.yyyy can someone give me a tips? thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to convert a month to a quarter ...... | New Users to Excel | |||
Excel 2007 Date Format Problem | Excel Discussion (Misc queries) | |||
EASY cond format Date?? | Excel Discussion (Misc queries) | |||
MS Query Date Format | Excel Discussion (Misc queries) | |||
Customized Date Format | Excel Worksheet Functions |