Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 h:mm

share|improve this answer
2 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


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.