+ Reply to Thread
Results 1 to 5 of 5

converting date format to text format

  1. #1
    Registered User
    Join Date
    03-17-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    3

    converting date format to text format

    I am trying to convert a cell with date format to text, but it can't be done. Can anyone help?

  2. #2
    Registered User
    Join Date
    09-26-2009
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: converting date format to text format

    Hi

    If A1 contains the date, then try

    =TEXT(A1,"dd/mm/yyyy")

    or any other format you prefer.

  3. #3
    Registered User
    Join Date
    03-17-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: converting date format to text format

    I've tried, it works. But i hv a problem which i copy a cell (A1) from another sheet, it reads 19970107, to a new cell, the A1 (19970107) turns into 2E+07. I think probably there is a hidden formula or something in this A1 cell. Could you help?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: converting date format to text format

    You don't stipulate the format that the number represents - ie yyyymmdd or yyyyddmm - we'll presume the former.

    =TEXT(TEXT(A1,"0000-00-00"),"dd/mm/yyyy")

  5. #5
    Registered User
    Join Date
    03-17-2010
    Location
    Hong Kong
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: converting date format to text format

    Thanks. will work on it again.

+ 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