Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to extract month and year only from date in Excel?

doc extract month and year 1

If you have a list of date format, now, you want to extract only the month and year from date as left screenshot shown, how could you extract month and year from the date quickly and easily in Excel?

Extract only month and year from the date with formulas

Convert the date to month and year format with Kutools for Excel


Format selected dates as other date formattings as you like

With Kutools for Excel's Apply Date Formatting feature, you can quickly convert the normal date format to any other formatting as you need. Click to download Kutools for Excel!


arrow blue right bubble Extract only month and year from the date with formulas


The following simple formulas may help you to extract only the month and year from the given date, please do as follows:

1. Enter the formula: =TEXT(A2,"mmm-yyyy") into a blank cell besides your data, C2, for instance, see screenshot:

doc extract month and year 2

2. Then drag the fill handle down to the cells that you want to apply this formula, and only the month and year have been extracted from the date column, see screenshot:

doc extract month and year 3

Notes:

1. Except the above formula, you can also apply this formula: =TEXT(A2, "mmm") & "-" & TEXT(A2, "yyyy").

2. In above formulas, A2 indicates the date cell that you want to use, and the separator “-” is used to separate the month and year, you can change it to any other delimiters you need.


arrow blue right bubble Convert the date to month and year format with Kutools for Excel

If you have Kutools for Excel, by using its Apply Date Formatting utility, you can convert the date to any other date formatting as you want without applying any formulas.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

After installing Kutools for Excel, please do as this:( Free Download Kutools for Excel Now )

1. Select the date cells that you want to convert to month and year format.

2. Click Kutools > Format > Apply Date Formatting, see screenshot:

doc extract month and year 4

3. In the Apply Date Formatting dialog box, please specify one date format that you want, this example, I will choose one of the month and year formats, see screenshot:

Tips: You also can choose Mar-01 as the month and year format.

doc extract month and year 5

4. Then click Ok or Apply button, the date has been converted to the month and year format, see screenshots:

doc extract month and year 6  2 doc extract month and year 7

Click to know more abou this Apply Date Formatting feature…

Free Download Kutools for Excel Now


arrow blue right bubble Extract only month and year from the date with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Owen.S · 1 months ago
    It would be great if you could change May 2020 into 5/20 like it shows on some state inspection stickers
    • To post as a guest, your comment is unpublished.
      Samantha · 1 days ago
      when using the =TEXT function, "m/yy" will change the output to 5/20. Play around with it to get the result you want.
  • To post as a guest, your comment is unpublished.
    Brendan Foley · 6 months ago
    Is there a way to only have the month and year without the discreet days? When I format the date using the Kutools format, it seems to keep the days, so trying to select just May 2019 with a filter involves clicking all of the individual days.
  • To post as a guest, your comment is unpublished.
    William Rowland Sr. · 2 years ago
    Is there a formula for equal monthly payments aside from excel? William Rowland Sr.
    Pp
    • To post as a guest, your comment is unpublished.
      skyyang · 2 years ago
      Hi, William,
      Could you give a detail information about your problem or a simple example screenshot?
      Thanks!