+ Reply to Thread
Results 1 to 8 of 8

Need help with date formatting

  1. #1
    Registered User
    Join Date
    05-28-2014
    Posts
    76

    Need help with date formatting

    Hi all
    I dont know why this dates dont want to change the format need some help please
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help with date formatting

    This is because your dates are actually text and need to be converted to real dates

    Try this formula

    =DATE(RIGHT(B2,4),MID(B2,4,2),LEFT(B2,2))

    and then format as desired

    B
    C
    2
    28-05-2014
    28/05/2014
    3
    02-04-2014
    02/04/2014
    4
    21-05-2014
    21/05/2014
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    05-28-2014
    Posts
    76

    Re: Need help with date formatting

    Thanks how do i identify if it is a text and how do i change it with out a formula, some times i get a message that it is a text but not on this page

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help with date formatting

    To check if it is number or text use:

    =ISTEXT(B2)

    To convert without formula use Text to Columns feature in Excel. If you using Excel 2007-2013, it is located under the Data tab.
    Highlight column with "dates", click on Text to Columns, select Delimited, then click Next, Next select Date and then Finish.

  5. #5
    Registered User
    Join Date
    05-28-2014
    Posts
    76

    Re: Need help with date formatting

    Thank you
    How do i see if it is text?

  6. #6
    Registered User
    Join Date
    05-26-2013
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    79

    Re: Need help with date formatting

    If you are using the function:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    then it will return TRUE when the questioned cell is TEXT and FALSE when it isnt.

  7. #7
    Registered User
    Join Date
    06-20-2014
    Location
    Hagerstown, MD
    MS-Off Ver
    2007
    Posts
    1

    Re: Need help with date formatting

    Morning,

    I am new to the forum, and was searching for help on converting number to date. Thank you for your post. However, should the portion of the formula for the month (mid) be MID(B2,4,2) or should it be MID(B2,5,2)? I thought that you start from the 5th number position since the year format is a 4 digit format.

    Please correct me if I am wrong. I am new to the whole thing and just might not understand.

    Thank you!

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Need help with date formatting

    @lnaugle

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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: 3
    Last Post: 11-23-2013, 06:21 AM
  2. Replies: 2
    Last Post: 09-19-2013, 10:34 AM
  3. Replies: 5
    Last Post: 08-22-2012, 05:06 PM
  4. Replies: 3
    Last Post: 07-11-2012, 10:03 AM
  5. Replies: 3
    Last Post: 08-18-2010, 12:58 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