Splitting Year from Dates

  • Thread starter Thread starter Mollas
  • Start date Start date
M

Mollas

Hello,

How do I split the year from a date. Example I will need to extract 2/23
and leave out 1978. The purpose is so that viewers can not reformat the text
to find out the year.
 
=MONTH(A1)&"/"&DAY(A1)
Then you could Copy & Paste Special - > Values
but this will be text so no calculations are possible
or, Maybe Hide column A
best wishes
 
How do I split the year from a date. Example I will need to extract
2/23 and leave out 1978. The purpose is so that viewers can not
reformat the text to find out the year.

If dates are in column A, one way is to put this in B1
=IF(ISBLANK(A1),"",TEXT(A1,"m/yy"))
and then copy down as far as needed.

Then select column B id use
Edit > Copy
Edit > Paste special > Values

Then delete column A.
 
Thank you. It worked!

Bernard Liengme said:
=MONTH(A1)&"/"&DAY(A1)
Then you could Copy & Paste Special - > Values
but this will be text so no calculations are possible
or, Maybe Hide column A
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email
 
This worked too! Thank you.

MyVeryOwnSelf said:
If dates are in column A, one way is to put this in B1
=IF(ISBLANK(A1),"",TEXT(A1,"m/yy"))
and then copy down as far as needed.

Then select column B id use
Edit > Copy
Edit > Paste special > Values

Then delete column A.
 

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