Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hi,
If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks -- wintersunshine |
#2
![]() |
|||
|
|||
![]()
Hi
sounds like your imported dates are not recognised as 'date' values but are stored as 'Text'. One possible workaound: - select your date values - goto 'Data - Text to columns' - just step through the wizard and Excel should convert them to real date values -- Regards Frank Kabel Frankfurt, Germany wintersunshine wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
#3
![]() |
|||
|
|||
![]()
sunshine
Depending upon your Windows Regional and Language Options, 12/31/2004 is probably not a valid date entry and is text. If short date in WindowsL&RO is set as mm/dd/yyyy then 12/31/2004 is a date. If set as dd/mm/yyyy then 12/31/2004 is text and cannot be re-formatted. Gord Dibben Excel MVP On Tue, 4 Jan 2005 22:39:01 -0800, "wintersunshine" wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
#4
![]() |
|||
|
|||
![]()
sunshine
Forgot to propose a fix..... Select the dates and DataText to ColumnsNextNextColumn Data FormatDate. Choose MDY and Finish. Gord On Tue, 4 Jan 2005 22:39:01 -0800, "wintersunshine" wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
#5
![]() |
|||
|
|||
![]()
Thanks. Frank. Your suggestion is quite helpful
Regards/Wintersunshine from Shanghai €œFrank Kabel€ç¼–写: Hi sounds like your imported dates are not recognised as 'date' values but are stored as 'Text'. One possible workaound: - select your date values - goto 'Data - Text to columns' - just step through the wizard and Excel should convert them to real date values -- Regards Frank Kabel Frankfurt, Germany wintersunshine wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
#6
![]() |
|||
|
|||
![]()
Thanks. Gord. First time to use this online discussion forum and found it's
quite efficient. I am still Excel beginner and far away to be a MVP :) Regards/Wintersunshine from Shanghai €œGord Dibben€ç¼–写: sunshine Forgot to propose a fix..... Select the dates and DataText to ColumnsNextNextColumn Data FormatDate. Choose MDY and Finish. Gord On Tue, 4 Jan 2005 22:39:01 -0800, "wintersunshine" wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
#7
![]() |
|||
|
|||
![]()
Thanks, you helped me with my problem too!
"Frank Kabel" wrote: Hi sounds like your imported dates are not recognised as 'date' values but are stored as 'Text'. One possible workaound: - select your date values - goto 'Data - Text to columns' - just step through the wizard and Excel should convert them to real date values -- Regards Frank Kabel Frankfurt, Germany wintersunshine wrote: Hi, If the date was input as mm/dd/yyyy (12/31/2004), can I convert the format to "yyyy-mm-dd"(2004-12-31) or "mmm-yy"(Dec-2004)? i tried to change date format from "Format Cells-- Number tab--Category--choose "date" or "custom" but just failed. While Strangely, If i imput the data as "2004-12-31", i can change it to whatever date format i like. Appreicate your advice at earliest convenience. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date Formula | Excel Discussion (Misc queries) | |||
Date formula | Excel Discussion (Misc queries) | |||
How would I change a date cell to decrease it by business days? | Excel Discussion (Misc queries) | |||
Converting an Excel formula to an Access query formula | Excel Discussion (Misc queries) | |||
How do I add a date formula to a cell but hide the contents with . | Excel Discussion (Misc queries) |