+ Reply to Thread
Results 1 to 5 of 5

Date format conversion - help with formula

  1. #1
    Registered User
    Join Date
    02-02-2017
    Location
    Amsterdam
    MS-Off Ver
    OSx & 2016
    Posts
    11

    Question Date format conversion - help with formula

    HI All,

    I'm not too advanced a user. Im trying to get some data ready to import to my small business accounting system (from a previous one) and the date format is not correct.

    The field is general format, and when i change to date it doesn't work.

    I somehow need a formula that can take the old format and put into a correct date format, but I am struggling.

    The date displays like this:

    April 14, 2014
    April 16, 2014
    April 21, 2014
    April 21, 2014
    April 22, 2014
    April 22, 2014
    April 22, 2014
    April 22, 2014

    So thought I could work out a way to take each section after a comma and place in a new format (e.g. with no comma, just numbers). however, there is no comma between the month and the date.

    There is 3 years of data (e.g. 2014, 2015, 2016).

    Any help is hugely appreciated,
    Neil

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

    Re: Date format conversion - help with formula

    One solution:
    - Copy a blank cell (choose a blank cell then Cltr-C)
    - Choose destination (cells with date in text)
    - Paste/Paste special/Operation, choose Add
    Quang PT

  3. #3
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,715

    Re: Date format conversion - help with formula

    Hi, assuming your date text is in cell A1, this formula should convert it to a date value:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    02-02-2017
    Location
    Amsterdam
    MS-Off Ver
    OSx & 2016
    Posts
    11

    Re: Date format conversion - help with formula

    that worked perfectly NickyC - thank you very much!!

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Date format conversion - help with formula

    This will do the same thing...
    P
    Q
    2
    14-Apr-14
    4/14/2014
    3
    16-Apr-14
    4/16/2014
    4
    21-Apr-14
    4/21/2014
    5
    21-Apr-14
    4/21/2014
    6
    22-Apr-14
    4/22/2014
    7
    22-Apr-14
    4/22/2014
    8
    22-Apr-14
    4/22/2014
    9
    22-Apr-14
    4/22/2014

    Q2=--SUBSTITUTE(P2,",","")
    copied down, and formatted as date
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Date Conversion Format
    By IMA_Saihat in forum Tips and Tutorials
    Replies: 0
    Last Post: 11-11-2015, 08:46 AM
  2. Replies: 1
    Last Post: 06-15-2012, 02:03 PM
  3. [SOLVED] Date Format Conversion?
    By Chris in Nebraska in forum Excel General
    Replies: 37
    Last Post: 08-24-2006, 05:08 PM
  4. Conversion of date into different format
    By Fam via OfficeKB.com in forum Excel General
    Replies: 8
    Last Post: 07-31-2006, 04:18 PM
  5. Date format conversion
    By Terry Pinnell in forum Excel General
    Replies: 5
    Last Post: 11-21-2005, 04:00 PM
  6. Format:Date conversion
    By Kristiaaan in forum Excel General
    Replies: 5
    Last Post: 07-30-2005, 01:05 AM
  7. Date Format - Conversion
    By tinkertoy in forum Excel General
    Replies: 1
    Last Post: 07-14-2005, 02:05 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