Select the cell or cells that you want to format.
On the Home tab of the ribbon, click the arrow in the lower right corner of the Number group.
Select Custom in the Category list.
Enter mmm-yyyy in the Type box, overwriting whatever it already contained.
Click OK.