• 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.

date formula

webmax

Member
hi

kindly find the attached data and i want the formula to find only date should be appear in the output box shown

regards
shahul
 

Attachments

In Cell C2:
Code:
=TEXT(A2,"d-mmm-yy")
copy down.

However, I get 12-May-2013 as your dates seem to be m/d/y format.
 
Hi, webmax!

Data in column A has format dd/mm/yyyy hh:mm, so for A2 (12/05/2013 21:58:11) you'd expect May 12th, regardless the format of destination cell (B2, in the example) which is dd-mmm-yy, but you say you want Dec 5th.

So you're actually trying to invert cell contents with DMY to MDY but formatted as DMY, i.e, swap day and month? Could you please confirm this, since depending on the day values of the data it'll lead you to value errors.

Could you post too other examples with day greater than 12?

Regards!
 
Hi
The format i attached is in mm-dd-yyyy hh:mm only i did not have the examples of a greater than 12 now
 
Back
Top