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

I am having a small issue in Excel 2010, I have a column with date/time values in plain text, I wish to convert them to date/time values and add on one year.

Example : 14/10/2011 03:49:00 to 14/10/2012 03:49:00

I have this working for converting the date but not the time... Here is my code

share|improve this question
up vote 1 down vote accepted

Excel should calculate as a date, even if stored as text



Then use a custom format to display the full datetime:

dd/mm/yyyy hh:mm:ss
share|improve this answer
Hey Shevek, I tried your code just now and Excel told me I used too many arguments for this function. Thanks for your reply all the same. – Eoin Fleming Oct 8 '12 at 11:16
Actually, apologies Shevek... That worked perfectly. Thanks – Eoin Fleming Oct 8 '12 at 11:23

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.