+ Reply to Thread
Results 1 to 15 of 15

Convert text date in to a date format excel can read

  1. #1
    Registered User
    Join Date
    07-13-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    31

    Convert text date in to a date format excel can read

    Hi
    Thanks in advance.

    I have a text output from another system that displays the date as - Sunday, October 1, 2017 & Monday, October 2, 2017.

    Is there a way to convert this to an excel date?

    Many thanks
    Casey

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Convert text date in to a date format excel can read

    Do you've PowerQuery installed?
    If not maybe someone else will give formula solution

  3. #3
    Registered User
    Join Date
    07-13-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    31

    Re: Convert text date in to a date format excel can read

    Thanks for the suggestion Sandy.

    I have PowerQuery but the people running the macro will not.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Convert text date in to a date format excel can read

    There are actually 2 dates in your example. Are these two different examples, or do the dates appear like that in one cell? If so, do you want both dates in two different cells, or just the first date?

    Pete

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Convert text date in to a date format excel can read

    But they can use your result from PQ.
    or just convert , copy and paste as values, choose appropriate format and ok

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Convert text date in to a date format excel can read

    Assuming A1="Sunday, October 1, 2017"

    Try:

    =TRIM(MID(A1,SEARCH(",",A1)+1,255))+0
    Quang PT

  7. #7
    Registered User
    Join Date
    07-13-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    31

    Re: Convert text date in to a date format excel can read

    Thanks, that converts it to month & date but is there a way to convert it to the serial date code.

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Convert text date in to a date format excel can read

    so change format to date format

  9. #9
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Convert text date in to a date format excel can read

    Quote Originally Posted by BC TIPPING View Post
    Thanks, that converts it to month & date but is there a way to convert it to the serial date code.
    It has converted date from text to serial date already. Or I missed something?

  10. #10
    Registered User
    Join Date
    07-13-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    31

    Re: Convert text date in to a date format excel can read

    I'm also confused.

    It doesn't allow me to change it to another date format so I assumed the formula just made it text.

    I have attached an example
    Attached Files Attached Files

  11. #11
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,178

    Re: Convert text date in to a date format excel can read

    Don't understand the issue

  12. #12
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Convert text date in to a date format excel can read

    Try the following in F3:

    Please Login or Register  to view this content.
    See the attached file.
    Attached Files Attached Files

  13. #13
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Convert text date in to a date format excel can read

    Quote Originally Posted by BC TIPPING View Post
    I'm also confused.

    It doesn't allow me to change it to another date format so I assumed the formula just made it text.

    I have attached an example
    You forgot to add + 0 to convert to serial number
    =TRIM(MID(B3,SEARCH(",",B3)+1,255))+0

  14. #14
    Registered User
    Join Date
    07-13-2015
    Location
    Brisbane, Australia
    MS-Off Ver
    2013
    Posts
    31

    Re: Convert text date in to a date format excel can read

    Thanks cbatrody,
    That worked perfectly.

    Bebo, thanks for picking up on that. When I add +0 it just has a VALUE error.

    Thank you all

  15. #15
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Convert text date in to a date format excel can read

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

+ 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. Replies: 6
    Last Post: 10-13-2017, 03:32 PM
  2. [SOLVED] How to convert exported text date to desired date format with excel vba.
    By sktneer in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 10-03-2013, 01:08 AM
  3. Cannot convert date (which is in text format) to date in numeric format
    By geniuspro in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-19-2012, 09:21 AM
  4. Formula to convert text to a date in a date format
    By mikeburg in forum Excel General
    Replies: 5
    Last Post: 08-24-2011, 09:15 AM
  5. convert date format to text in all excel files in a folder
    By farrukh in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-31-2011, 01:12 PM
  6. Help: How do I convert a text date into a real date format
    By japorms in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2006, 01:36 PM
  7. [SOLVED] Date format not correct when you convert a CSV text file in Excel
    By Scarab in forum Excel General
    Replies: 2
    Last Post: 11-16-2005, 08:25 AM

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