splitting a cell in to three


R

RowzeRiot

i have a list of dates 'DD,MM,YYYY' and i need to split the cells so that in
a new collum it has 'DD' 'MM' 'YYYY' i can understand how to put the day and
year into a new collum =left(A1,2) & =right(A1,4) but i cant work out how to
seperate the middle

should i delete the commas?

thanks in advance
Rose
 
Ad

Advertisements

L

Luke M

If your data is entered as a true date, why not just change the formatting of
the cell? (use custom format)

If not, use
=SUBSTITUTE(A1,","," ")
 
J

James

Hi

You can use a mid formula so if your cell shows as 01,03,2009:

Mid(A1,4,2)

4 is the character your want to start with from the left i.e. 0 and the 2 is
number of characters you want i.e 0 & 3.
 
M

murkaboris

Highlight your column go to Data - Text to Column - check the Deliminated
with - check the "comma" and finish. It will split that cell into three
columns.
Hope this helps.
Monika
 
Ad

Advertisements

R

RowzeRiot

Thankyou veyr much :)

James said:
Hi

You can use a mid formula so if your cell shows as 01,03,2009:

Mid(A1,4,2)

4 is the character your want to start with from the left i.e. 0 and the 2 is
number of characters you want i.e 0 & 3.
 

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

Top