You can use this in N2:

=LEFT(M2,4)

and this in N4:

=UPPER(TEXT(M4,"mmm"))

Hope this helps.

Pete