day/month/year in incorrect format for date format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a date format written as "31/1/2005", when I concatenate after I've
separated text to columns I can't change format to 31-Jan-2005.
 
Format as date and add -- in front of "31/1/2005" however if you have US
regional settings you will always get text since there is no month 23 in
that case you need to change the concatenate formula or the regional
settings

--
Regards,

Peo Sjoblom

(No private emails please)
 
Suppose your 3 cells were A1, A2 & A3.
Use
=datevalue(concatenate(A1 & "/" & A2 & "/" & A3))
This turns the text into a date number. It can then be changed with Format -
Cell -Date and the date system you want to use.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top