1

I would like to substring only month and year in Excel.

In example: A1=01/15/2013, result should be 01/2013

How to do that in Excel?

Regards,

4

3 回答 3

3

This should do it:

=TEXT(MONTH(A1),"00")&"/"&TEXT(YEAR(A1),"00")
于 2013-06-20T11:12:18.043 回答
3

perhaps simply

=TEXT(A1,"MM/YYYY")
于 2013-06-20T11:34:47.330 回答
2

This can be done using excel OOTB utility. Look at the Sample

Refer image attached:

enter image description here

于 2013-06-20T11:19:49.677 回答