+ Reply to Thread
Results 1 to 9 of 9

How to convert Short date to Long date?

  1. #1
    Registered User
    Join Date
    03-10-2015
    Location
    Bahrain
    MS-Off Ver
    2010
    Posts
    11

    How to convert Short date to Long date?

    How to convert Short date to Long date?

    As shown in image, I convert Expiry date to long date from format, but two of them did not change however I use some function but It did not work also for the one didn’t change.

    What is the problem with these dates?
    31/01/2017
    16/06/2018

    Note: Function used to convert date is
    =TEXT (B2,”DDD, MMM, YYYY”)
    Attached Images Attached Images

  2. #2
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: How to convert Short date to Long date?

    Quote Originally Posted by hanialbarni View Post
    What is the problem with these dates?
    31/01/2017
    16/06/2018
    Did you enter those two dates in Column B as Date?
    Last edited by sanram; 08-13-2016 at 06:17 AM. Reason: Edited as FDibbins say.

  3. #3
    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,049

    Re: How to convert Short date to Long date?

    sanram Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding

    For normal conversational replies, try using the QUICK REPLY box below.
    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

  4. #4
    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,049

    Re: How to convert Short date to Long date?

    hanialbarni welcome to the forum

    It is hard to tell from a pic what your underlying data actually looks like. Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

  5. #5
    Registered User
    Join Date
    03-17-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    83

    Re: How to convert Short date to Long date?

    Hi,

    Try this =TEXT(B2,"ddd,DD,MMM,YYYY")
    Thank You.....

  6. #6
    Registered User
    Join Date
    03-10-2015
    Location
    Bahrain
    MS-Off Ver
    2010
    Posts
    11

    Arrow Re: How to convert Short date to Long date?

    AMsanram,
    Yes all of them format as Date.

    AMFDibbins,
    Kindly find attached file.

    arshad.99.ali
    It didn't work
    Attached Files Attached Files

  7. #7
    Valued Forum Contributor
    Join Date
    06-21-2013
    Location
    Bangladesh
    MS-Off Ver
    Excel 2000, Excel XP, Excel 2002, Excel 2007, Excel 2010, Excel 2013
    Posts
    975

    Re: How to convert Short date to Long date?

    In your uploaded sheet B3 and B6 aren't in the correct date format with respect to your date & time settings. Enter those date in correct format, then it will work. Say, you want 31/01/2017 then enter 1/31/2017. i.e. Month/Day/Year.

    Or if you want to work with your current data, then enter the below formula in C2 and copy down.
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    03-17-2016
    Location
    India
    MS-Off Ver
    2010
    Posts
    83

    Re: How to convert Short date to Long date?

    Hi Hanialbarni,

    After checking your template i would suggest you to Convert "Text to column" for Date values (Column B) and apply formula to get output

    Convert Text to column - Delimited - Tab - General or Date - Finish

    It is working for me after doing above step. Hope this will works for you......

    However sanram post also working fine...


    Thanks you......

  9. #9
    Registered User
    Join Date
    03-10-2015
    Location
    Bahrain
    MS-Off Ver
    2010
    Posts
    11

    Re: How to convert Short date to Long date?

    sanram,
    Yes it worked, Thank you.

    arshad.99.ali,
    I did not understand what you mean

+ 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] formatting for short date displays excel date number
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-14-2014, 11:56 PM
  2. Long date/short date conversion and cycle time calculation
    By COGICPENNY in forum Excel General
    Replies: 1
    Last Post: 02-14-2014, 05:17 PM
  3. Convert Long Written Excel Date to Proper Date
    By DavidMichaelangelo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2013, 04:47 PM
  4. Convert MMM DD, YYYY hh:mm:ss to Short date in excel 2007
    By harsh2209 in forum Excel General
    Replies: 12
    Last Post: 01-22-2013, 04:34 AM
  5. [SOLVED] Convert Long Form Date String to dd/mm/yyyy
    By ccpsc in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-12-2012, 09:05 PM
  6. convert long number in cell to date and time
    By ajchandler in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-08-2009, 01:04 PM
  7. Short date increment in VB
    By artsx in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2008, 06:55 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