Stuck substring month and year in excel

2019-08-02 14:23发布

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,

标签: excel
3条回答
beautiful°
2楼-- · 2019-08-02 15:02

perhaps simply

=TEXT(A1,"MM/YYYY")
查看更多
淡お忘
3楼-- · 2019-08-02 15:15

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

Refer image attached:

enter image description here

查看更多
可以哭但决不认输i
4楼-- · 2019-08-02 15:16

This should do it:

=TEXT(MONTH(A1),"00")&"/"&TEXT(YEAR(A1),"00")
查看更多
登录 后发表回答