# Formula to Extract month & Year

#### howard

##### Well-known Member
I have the following text in cell F5 "TO 11/02P"

I would like a formula that will extract the month & year from this text to read in this example as Feb 2011

The year is the number directly after the text To in this example 11 being 2011 and the month
appears after the / i.e 02 in this example being Feb

Your assistance will be most appreciated

### Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
=TEXT(DATE(2000+MID(F5,4,2),MID(F5,FIND("/",F5)+1,2),1),"mmm yyyy")

Hi Neil

Thanks for the help, much appreciated

Replies
2
Views
313
Replies
8
Views
273
Replies
4
Views
266
Replies
3
Views
410
Replies
16
Views
2K

1,217,500
Messages
6,137,006
Members
450,038
Latest member

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back