+ Reply to Thread
Results 1 to 7 of 7

Covert Text date to date in Excel

  1. #1
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Covert Text date to date in Excel

    I would like help on converting this text string:

    Please Login or Register  to view this content.
    to 01/25/2019 in excel.
    How would I do this?

    Thanks
    Attached Files Attached Files
    ==========
    Bigroo1958
    Austin, Texas
    ==========

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: Covert Text date to date in Excel

    Try this:

    =--REPLACE(A1, 1,FIND(",",A1)+1,"")

  3. #3
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Covert Text date to date in Excel

    Great Phuocam, that worked, can you please explain the formula?

  4. #4
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Covert Text date to date in Excel

    What does the 2 dashes do after the equals sign at the beginning of the formula, I have worked out the rest?
    Thanks

  5. #5
    Valued Forum Contributor Haluk's Avatar
    Join Date
    02-14-2019
    Location
    Turkiye
    MS-Off Ver
    2010 - 64 Bit on Windows-11 (22 H2) 64 Bit
    Posts
    1,149

    Re: Covert Text date to date in Excel

    The 2 consecutive dashes converts the string result to numeric.

  6. #6
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: Covert Text date to date in Excel

    Using (--) is the same as VALUE (), DATEVALUE (), converting text to number.

    It is like this:

    =VALUE(REPLACE(A1, 1,FIND(",",A1)+1,""))

    or

    =DATEVALUE(REPLACE(A1, 1,FIND(",",A1)+1,""))

  7. #7
    Forum Contributor
    Join Date
    11-27-2009
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2013 & 2016
    Posts
    409

    Re: Covert Text date to date in Excel

    Thank you all for the replies!!
    This helps me a lot!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Covert date time into Excel format
    By Smudge.Smith in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-28-2017, 10:22 AM
  2. [SOLVED] Formula to covert date into Month
    By rizmomin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-13-2017, 04:36 PM
  3. [SOLVED] Covert yyyy-mm-dd text to mm-dd-yyyy date?
    By NewYears1978 in forum Excel General
    Replies: 2
    Last Post: 04-18-2017, 10:50 AM
  4. How can covert text to date Format?
    By Akatecho in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2015, 02:30 AM
  5. Covert Date DD/MM/YYYY in to month, with the month as text
    By david1987 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-23-2012, 11:03 AM
  6. Covert text date "Apr 13/10" to usable format
    By Xx7 in forum Excel General
    Replies: 4
    Last Post: 11-22-2011, 09:01 PM
  7. Covert UTC date
    By smpayne69 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2005, 03:35 PM

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