• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Convert text to date format

IKHAN

Member
Hi , Need help in converting excel dates to proper format.

If date such as Sun 6/19/2016 12:09 AM is copied onto cell needs to convert to format ddd mmm dd, yyyy - hh:mm AM/PM (Sun Jun 19, 2016 - 12:09 AM

Tried changing cell format to above, used datevalue function - Gives an error #value

Using excel 2010


Thank you
 
Hi ,

If your system date format is mm/dd/yyyy , then a formula such as :

=RIGHT(A1, LEN(A1) - 4) + 0

where A1 has the data , will convert the data to a valid date.

Once the data is converted to a valid date , you can apply any Excel date format , and the date will be appropriately displayed.

Narayan
 

Hi !

If a date in a cell is a true / real valid date (as number and not text),
there is nothing to convert but just needs to amend the cell format !
 
Agreed @Marc L ...Its a text in format (Sun 6/19/2016 12:09 AM) need conversion to format ddd mmm dd, yyyy - hh:mm AM/PM (Sun Jun 19, 2016 - 12:09 AM
 
Back
Top