Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to convert this date format:

18/11/2011 7:00

to this:

2011.11.18. 7:00

in excel? Can it be done with a macro or is it not necessary?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can use a "custom format". Select range, right-click, select "format cells" and under number select "custom" and enter this in "Type" box

yyyy.mm.dd. h:mm

share|improve this answer
2  
yyyy.mm.dd. h:mm Don't forget the extra dot after the day. –  mischab1 Jan 26 '12 at 0:08
    
good spot mischab! I missed that - amended –  barry houdini Jan 26 '12 at 0:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.