Skip to main content

How to convert months to years and months in Excel?

Author: Xiaoyang Last Modified: 2019-11-22

In Excel worksheet, have you ever tried to convert the number of months to years and months? For example, 56 months equals 4 years and 8 months as the left screenshot shown. In this article, I will talk about how to solve this job in Excel.

Convert months to years and months with formula

Convert months to years and months with formula

To convert the months to years and months, the below formula can help you.

Please copy and paste the following formula into a blank cell:

=INT(A2/12) & " years and " &MOD(A2,12)& " months"

And then, drag the fill handle down to the cells that you want to contain this formula, and the month numbers have been converted to years and months as you need, see screenshot:

More relative articles:

  • Compare Two Dates By Month And Year Only In Excel
  • If you have two lists of dates, now, you need to compare the dates by month and year only and ignoring the day value, if they have the same month and year, the result should be displayed as True, otherwise should be False as following screenshot shown. How to compare the dates only with month and year but ignoring the day in Excel?
  • Sum Values Based On Month And Year In Excel
  • If you have a range of data, column A contains some dates and column B has the number of orders, now, you need to sum the numbers based on month and year from another column. In this case, I want to calculate the total orders of January 2016 to get the following result. And this article, I will talk about some tricks to solve this job in Excel.
  • Convert 1-12 To Month Name In Excel
  • For example you received a sales table in which months are displayed as numbers, and you need to convert the numbers to normal month names as below screenshot shown. Any idea? This article will introduce two solutions for you.
  • Calculate Days Left In Month Or Year In Excel
  • For certain case, you may want to know the number of remaining days in a month or a year. Supposing, the date of today is 2014/10/12, and you want to calculate the days left in this month (October) or this year (2014), that is to say, there is remaining 19 days of this month and 80 days of this year. Please know more details from the below article.

  • 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 and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... 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...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • 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...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • 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
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
How to convert months in to year. For example months number stating 1 to 60, I need years to be 1, 2,3,4, and 5. ex: All Months from number 25 to 36 should show as 3.
This comment was minimized by the moderator on the site
How do I covert months into years and complete months? For example, the formula above converts 13 months into 1 year 0.66666666 months, but I would like this rounding up to 1 year 1 month.
This comment was minimized by the moderator on the site
how to convert 3 years 11 months 24 days into 3 years 12 months format in excel
This comment was minimized by the moderator on the site
61 years 04 months
how do we convert the opposite way???
This comment was minimized by the moderator on the site
Hello, Edward
To convert the years and months to months, please apply the below formula:
=VALUE(LEFT(C11,FIND(" ", C11)-1))*12+VALUE(MID(C11,FIND("years ", C11)+6,FIND(" months",C11)-FIND("years ", C11)-6))

Please change the cell reference - C11 to your need.

Please try, hope it can help you!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations