Converting 20010321 to 03/21

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

Guest

I've tried every type of format available and tried to custom make one.
Please help! I have a whole column of birthdates listed as 20010321
(yyyymmdd) and I need them to read only the mm/dd. General steps
appreciated. thx!
 
Select the column, do data>text to columns, click next twice, under column
data format select Date and from dropdown select YMD and click finish, with
the column still selected do format>cells>number>custom and type mm/dd in
the type box


Note that the underlying value will always be a full date (serial number)
 
Assuming your # is in A2, try this in B2

=DATE(LEFT(A2,4),MID(A2,5,2),RIGHT(A2,2))

format B2 as mmm-dd
 
Hawkins said:
I've tried every type of format available and tried to custom make one.
Please help! I have a whole column of birthdates listed as 20010321
(yyyymmdd) and I need them to read only the mm/dd. General steps
appreciated. thx!

Select the column of birthdates, run the menu command Data > Text to
Columns, select Fixed Width, click the Next button twice to move to the 3rd
step of the wizard, choose Date in the Choose data format section, and use
the drop-down list to the right of Date to select YMD, then click the Finish
button.
 
Select the column where the data is from the main toolbar menu select data
->text to columns(Click on Delimited) , click next twice, on your Top right
select DATE from the data format and from dropdown select YMD and click
finish,
On the same column now select Format -> Cells -> Custom-> and type mm/dd
 
Michael, you are pure genius..... (I'm sure the other methods would have
worked but I tried yours first. thanks so much)
 

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