+ Reply to Thread
Results 1 to 4 of 4

Convert Date and Time (EST) to Month and Year

  1. #1
    Registered User
    Join Date
    11-27-2013
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    65

    Convert Date and Time (EST) to Month and Year

    How do I convert this format to "Fri Oct 23 21:49:22 EST 2015" to "Oct 2015" by means of a formula?

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

    Re: Convert Date and Time (EST) to Month and Year

    If you want that as a proper date which is formatted to show only the month and year, you can do this:

    =DATEVALUE(MID(A1,9,3)&MID(A1,5,4)&RIGHT(A1,4))

    or this:

    =DATE(RIGHT(A1,4),MATCH(MID(A1,5,3),{"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"},0),MID(A1,9,2))

    assuming that date/time string is in A1. Format the cell using a Custom Format of:

    "mmm yyyy"

    then you can copy down if you have other date/times to convert.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-27-2013
    Location
    Kuala Lumpur, Malaysia
    MS-Off Ver
    Excel 2007
    Posts
    65

    Re: Convert Date and Time (EST) to Month and Year

    It worked. Thanks Pete

  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,726

    Re: Convert Date and Time (EST) to Month and Year

    You're welcome, and thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

+ 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] how to convert text number to year month and date
    By leakhna in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2015, 05:19 AM
  2. Need to convert Month/Date/Year to Year/Month/Date so excel will recognize
    By juliettelam in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-25-2014, 04:17 PM
  3. [SOLVED] Extract Text from String then Convert to a Date (Month/Year)
    By sgrey24 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-14-2013, 06:11 PM
  4. [SOLVED] Use TEXT function as Criteria on Sumifs to convert month/year to date format
    By chico.corrales in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-08-2012, 07:49 PM
  5. Convert date to month/year text
    By FindAnswers in forum Excel General
    Replies: 2
    Last Post: 11-07-2012, 03:42 PM
  6. [SOLVED] Excel 2007 : Convert Today's Date To The Previous Month & Year
    By The_Snook in forum Excel General
    Replies: 8
    Last Post: 04-26-2012, 06:37 AM
  7. Date/Time Function in Excel (Day/Month/Year & time)
    By tortuga32 in forum Excel General
    Replies: 19
    Last Post: 12-14-2011, 02:00 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