use Mid to pull the month number:
=--MID(E2,6,2)
to get the month name we need to parse the string to an actual date:
=TEXT(LEFT(E2,10),"MMMM")
Here you go:
=TEXT(A1,"M")
Will return a number from 1 to 12. If you want the full month written out use "MMMM".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.