converting a cell text to date

T

Terry

I have a column which contains a text value which translate to yyyymm such
as 200210, 200405.

I would like to change this column to a date of format mm/dd/yyyy. I would
default the day to 01.
200210 -> 01/10/2002

Any help on this would be appreciated.
 
T

Tom Ogilvy

Assume the value is in G13, then in H13
=DATE(TRUNC(G13/100),MOD(G13,100),1)

format the cell as mm/dd/yyyy

then drag fill down the column.
 

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