+ Reply to Thread
Results 1 to 9 of 9

Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

  1. #1
    wintersunshine
    Guest

    Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    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. #2
    Forum Contributor
    Join Date
    01-14-2004
    Location
    India
    MS-Off Ver
    365
    Posts
    264
    Hi
    I think the problem is your input cell format is set to yyyy-mm-dd which you should change to mm/dd/yyyy to read the data as a date otherwise your input data is considered as a text only.

    Toms

  3. #3
    Frank Kabel
    Guest

    Re: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    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




  4. #4
    Gord Dibben
    Guest

    Re: Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    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 Windows>L&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"
    <[email protected]> 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. #5
    Gord Dibben
    Guest

    Re: Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    sunshine

    Forgot to propose a fix.....

    Select the dates and Data>Text to Columns>Next>Next>>Column Data Format>Date.
    Choose MDY and Finish.

    Gord

    On Tue, 4 Jan 2005 22:39:01 -0800, "wintersunshine"
    <[email protected]> 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. #6
    wintersunshine
    Guest

    Re: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    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

    >
    >
    >


  7. #7
    wintersunshine
    Guest

    Re: Help: Can I change the date formula from mm/dd/yyyy to "mmm-yy

    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 Data>Text to Columns>Next>Next>>Column Data Format>Date.
    > Choose MDY and Finish.
    >
    > Gord
    >
    > On Tue, 4 Jan 2005 22:39:01 -0800, "wintersunshine"
    > <[email protected]> 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

    >
    >


  8. #8
    Kristina
    Guest

    Re: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    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

    >
    >
    >


  9. #9
    Nick Hodge
    Guest

    Re: Can I change the date formula from mm/dd/yyyy to "mmm-yy" et

    Kristina

    Frank tragically passed away a few months ago. I know however he would be
    delighted to know he was still helping

    Thank you

    --
    HTH
    Nick Hodge
    Microsoft MVP - Excel
    Southampton, England
    [email protected]HIS


    "Kristina" <[email protected]> wrote in message
    news:[email protected]...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1