You can calculate elapsed time by subtracting one time from another. First put a start date in a cell, and an end date in another. Warning:We don't recommend using the DATEDIF "md" argument because it may calculate inaccurate results. Use the DateDiff function to determine how many specified time intervals exist between two dates. Note. With the same thought, month difference is 11-12 = -1 Months. As you saw above, the DATEDIF function calculates the difference between a start date and an end date. or measure the amount of time until your baby's due date. To calculate and display the time between two dates in days, months, and years, you can use the a formula based on the DATEDIF function. You can put all three calculations in one cell like this example. This is equal to 2 years, 2 months, and 5 days. Use ampersands, quotes, and text. To use the YEARFRAC function to calculate months, follow the instructions below. Press CTRL + 1. By taking a step-by-step approach, you can more easily see what's going on and how to solve the problem. measuring your age in days, or the total days between the start and Click "Settings" to define holidays. Examples include 1935-08-29 or Apr 15, 1983. I'll plug in the dates we already have in columns B and C so you can see how it works. 68,860,800 seconds. The 1 in the formula establishes Saturdays and Sundays as weekend days, and excludes them from the total. Leap years "Unit"must be one of the values you see in column D. To enter "unit" directly in the formula, enclose the value in double quotes. Use the date calculator: There are 797 days between the two calendar dates, 3/1/2023 and 5/6/2025. Lets have a basic understanding of the DATEDIF function first. The calculator does not count the final day in the time-frame. It can also add to Find the number of years, months, weeks, and days between dates. In this case, though, we have units exposed on the worksheet, so I can just point back to column D and copy the formula down. For example if your holidays were on January 1 and 2 of 2016, you'd type them like this: =NETWORKDAYS.INTL(D53,E53,1,{"1/1/2016","1/2/2016"}). You accomplish this task by using two DATEDIF functions joined in a text string with the ampersand . [basis]:[optional] The day count basis to be used. In this system, age increases on a person's birthday. The y returns the number of full years between the two days. You can also calculate age or someones time of service. In this example, the start date is in cell D2, and the end date is in E2. Press CTRL + 1 (or + 1 on the Mac). This function calculates the number of working days between two dates excluding weekends (Saturday and Sunday) and even holidays if necessary: =NETWORKDAYS (start_date, end_date, [holidays]) start_date - a date used as a starting point. Then the 1 represents the first day of that month. For this, we need to go after the procedures. Thanks for the incredible website! If you created a holiday range name in the Before you begin section above, then type it at the end like this. Then select those cells, select Formulas > Define Name. To calculate the time between two dates and times, you can simply subtract one from the other. Here, cell B5 indicates the start date and cell C5 indicates the end date. The d returns the number of full days between the two dates. You can download the workbook and practice with them. end_date: [required] A date that signifies the end of a period of time. Also, see theDetailed LET functionexamplefor another explanation of converting an existing formula to use LET. In this example, the start date is in cell D2, and the end date is in E2. 5/6/2016 minus 5/1/2016 is 5 days. However, you must apply formatting to each cell to ensure that Excel returns the result you want. The result can be something like 2 years, 4 months, 5 days.. Calculate the difference between two times. 19,128 hours. NETWORKDAYS.INTL function Simply enter the start and end date to To explain how DATEDIF works, the table below is set up to show all options available for Unit. E9 is the difference in complete months. Enter two dates below to find the number of days between them. In the formula, the m returns the number of full months between the two days. Thank you. Settings Add to or Subtract from a Date Related Time Calculator | Age Calculator History of the Gregorian Calendar The Gregorian calendar is the most prevalently used calendar today. See, Years Calculator: How Many Years Between Two Dates. A handy day adder / date calculator to add days to any given initial date. What is the value of x in the equation below? DATEDIF Function to Calculate Years and Months between Two Dates 1.1. For that, we need to create our own formula. both the starting date and the ending date, then it would actually be For best results, use dates after 1752 or verify any data Here's how it does this: First the DATE function creates the date, 5/1/2016. name1: [required] This is the first name to be assigned. You'll quickly receive one result: The year calculator starts by counting the entire first day, but doesn't count the ending date. If Saturday and Sunday are not your weekend days, then change the 1 to another number from the IntelliSense list. Your email address is private and not shared. Below is a month between dates calculator. DATE 1: 31.12.2019. In this example, the start date is in cell D9, and the end date is in E9. If you created a holiday range name in the Before you begin section above, then type it at the end like this. Unfortunately, there is not a similar function to calculate months in Excel. Date Calculators. The above methods will assist you to calculate years and months between two dates in Excel. Each cell should have a month, day, year, hour, minute, and a space before the AM or PM. ; actually the measurements of time between two dates. Sometimes you need to be able to determine the amount of time between dates in years and months. The result from this formula is the same as the original formula above, butthe reference to B5 and C5 occurs only once. X days from today, switch to the Days From Now calculator Press CTRL + 1. And in another cell, type a full end date/time. instead. The same as our manual calculation. Excel VBA to Calculate Years and Months Between Two Dates, How to Calculate Years Between Two Dates in Excel (2 Methods), How to Calculate Years in Excel from Today (4 Ways), How to Use DateDiff Function in Excel VBA (5 Examples), How to Apply Cubic Spline Interpolation in Excel (with Easy Steps), How to Add Text Prefix with Custom Format in Excel (4 Examples), How to Create Material Reconciliation Format in Excel, How to Use VLOOKUP Function with Exact Match in Excel, SUMIFS to SUM Values in Date Range in Excel, Formula for Number of Days Between Two Dates, Firstly, select the cell where you want the calculated year. Enter a start date and an end date and we'll automatically count the years and days between the start and end date. He has written articles and books on topics like Office/VBA development, XML, SQL Server, and InfoPath. Also, press CTRL+SHIFT+U if you cant see the whole formula. However, leap years are in the tool. Lets take a look at the procedures below. Enter a start date and an end date and the month calculator will return the number of months and days separating the two. To calculate years and months between two dates, the DATEDIF function is the best option in Excel. You can always count on us for help, 24 hours a day, 7 days a week. In this example, the start date is in cell D53 and the end date is in cell E53. Here's how it does this: First the DATE function creates the date, 5/1/2016. You can download an example workbook with all of the examples in this article. - Add or Subtract date and time. Remarks. . Description. DATE 2: 16.11.2021. However, it does have NETWORKDAYS. This article describes the formula syntax and usage of the YEARFRAC function in Microsoft Excel.. In this example, the start date is in cell D17, and the end date is in E17. Here I post articles related to Microsoft Excel. Cell C4 shown contains the following formula: You accomplish this task by using two DATEDIF functions joined in a text string with the ampersand (&) operator. Calculate difference between two dates in months using javascript22 BEGIN --Declare local variables --Temporarily holds @EndDate during date reversal. Date Calculator - Add or subtract days, months, years. Each video comes with its own practice worksheet. Read More: How to Calculate Years in Excel from Today (4 Ways). If we assign these values to named variables, we can more easily combine them later in different ways, which becomes more useful in the extended version of the formula explained below. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts. In Excel 2007, it would look like this: =NETWORKDAYS(D53,E53,{"1/1/2016","1/2/2016"}). Time and Date Duration - Calculate duration, with both date and time included Date Calculator - Add or subtract days, months, years Birthday Calculator - Find when you are 1 billion seconds old Week Number Calculator - Find the week number for any date Related Links The short form for this date used in the United States is 5/6/2025, and almost everywhere else in the world it's 6/5/2025. Below is a years between calculator. You don't specify the 1 because NETWORKDAYS assumes the weekend is on Saturday and Sunday. Gregorian calendar, For example, one thing we might want to do is make the units plural or singular depending on the actual unit number. So, we choose cell. For best results, avoid entering years before 1753. Unit specifies whether you want the difference between dates in days, months, or years, with several variations. In this example, the goal is to output the time between a start date and an end date as a text string that lists years, months, and days separately. if you are doing genealogy research. American format, 3/1/2023. If this date is not a holiday, it is counted as a working day. 570 weekdays and 228 weekend days including both the starting Wednesday and the ending Tuesday. Please note that at the time of this writing, the day was October 6, 2016. Number of days between March 1st, 2023 and May 6th, 2025. . If you are trying to calculate the remaining days after the last completed month, here is a workaround: This formula subtracts the first day of the ending month (5/1/2016) from the original end date in cell E17 (5/6/2016). Calculate age in accumulated years, months, and days You can also calculate age or someone's time of service. Date Calculator Days Between Two Dates Find the number of years, months, weeks, and days between dates. Here, we want to calculate the years and months together using the DATEDIF function. The result for the DATE function is 5/1/2016. This is the difference between January and March whendayand yearare ignored. Here's how it does this: First the DATE function creates the date, 5/1/2016. I'm a graduate in BSc in Computer Science and Engineering from United International University. {"appState":{"pageLoadApiCallsStatus":true},"articleState":{"article":{"headers":{"creationTime":"2016-03-26T10:53:36+00:00","modifiedTime":"2016-03-26T10:53:36+00:00","timestamp":"2022-09-14T17:55:18+00:00"},"data":{"breadcrumbs":[{"name":"Technology","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33512"},"slug":"technology","categoryId":33512},{"name":"Software","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33618"},"slug":"software","categoryId":33618},{"name":"Microsoft Products","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33642"},"slug":"microsoft-products","categoryId":33642},{"name":"Excel","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33644"},"slug":"excel","categoryId":33644}],"title":"Calculating the Number of Years and Months between Dates in Excel","strippedTitle":"calculating the number of years and months between dates in excel","slug":"calculating-the-number-of-years-and-months-between-dates-in-excel","canonicalUrl":"","seo":{"metaDescription":"Sometimes you need to be able to determine the amount of time between dates in years and months. Yes, it sure does. Then weuse the IF function to conditionally tack on an "s" only when the number is not 1. In one cell, type a full start date/time. Tip: Press ALT+ENTER to put line breaks in your formula. To calculate years and months between two dates we are going to use this dataset. Each cell should have a month, day, year, hour, minute, and a space before the AM or PM. Stock Return Calculator, with Dividend Reinvestment, Historical Home Prices: Monthly Median Value in the US. The INT function then rounds the number down to 48 which is the . The start and end dates arethen reused throughout the formula. 2023 is not a leap year, so there are 365 days in this year. In another cell, subtract the start date/time from the end date/time. Here is the formula updated to include new variables foryears, months, and days: Notice we have assigned results from DATEDIF to the variables years, months, and days, and these values are concatenated together in the last line insidethe LET function. When you use the TODAY() function, Excel uses your computer's current date for the date. Warning:If the Start_date is greater than the End_date, the result will be #NUM!. Count Days Add Days Workdays Add Workdays Weekday Week Start Date Month: / Day: / Year: Date: Today End Date Month: / Day: / Year: Date: Today Include end date in calculation (1 day is added) Add time fields Add time zone conversion Nope. Or, you could type each holiday inside the formula. Enter two dates below to find the number of days between Learn Excel with high quality video training. end date. 797 days is equal to 113 weeks and 6 days. Have fun! Remarks. Whether it's to pass that big test, qualify for that big promotion or even master that cooking technique; people who rely on dummies, rely on it to learn the critical skills and relevant information necessary for success. 3. More date and time functions The d returns the number of full days between the two dates. To calculate the difference between two dates in cell B3 and C3 and show the result as years months and days, please use below formula: =DATEDIF (B3,C3,"y")&" years "&DATEDIF (B3, C3,"ym")&" months " &DATEDIF (B3, C3,"md") &" days" Press Enter key. NETWORKDAYS.INTL function Set them in either order you'd like, or even set them to the same date the tool will figure it out. Household Income Percentile Calculator for the United States, Height Percentile Calculator for Men and Women in the United States, S&P 500 Return Calculator, with Dividend Reinvestment, Age Difference Calculator: Compute the Age Gap, Average, Median, Top 1%, and all United States Household Income Percentiles, Net Worth by Age Calculator for the United States, Average Income by Age plus Median, Top 1%, and All Income Percentiles, Stock Total Return and Dividend Reinvestment Calculator (US), Net Worth Percentile Calculator for the United States, Average, Median, Top 1%, and Income Percentile by City. - Include start date. This calculator is based on the most common age system. The result can be something like "2 years, 4 months, 5 days." 1. Enjoy the years calculator? Then select those cells, select Formulas > Define Name. Date Calculators Duration Between Two Dates - Calculates number of days. Now we need to find the number of remaining days. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); ExcelDemy is a place where you can learn Excel, and get solutions to your Excel & Excel VBA-related problems, Data Analysis with Excel, etc. Read More: How to Calculate Years Between Two Dates in Excel (2 Methods). It is the 60th day of the year, and in the 9th week of the year (assuming each week starts on a Monday), or the 1st quarter of the year. To solve this math problem, you need to first decide what operation to use. [online] Available at: date calculator form. Calculate Years and Months Using Excel LET Function, 3. The above formula also completely ignores the month of the start date. Lets see the steps below. DATEDIF function IF @StartDate IS NULL RETURN NULL --If the End Date is null, populate with Start Date value so will have two dates (required by DATEDIFF below). Time Calculator: Duration Between Two Times and Dates. time in months, time in months ignoring days and years, etc.) When you enter DATEDIF, you won't get any function screen tips since it's not documented. However, instead of typing specific dates, you can also use the TODAY() function inside the formula. Select both dates and press CTRL + 1 (or + 1 on the Mac). In the example shown, the formula in E5 is: where start dates are in column B, and end dates are in column C. Note: See below for a few options that use the LET function to simplify and extend the formula. In this example, the start date is in cell D5, and the end date is in E5. Examples With a start date in A1, and an end date in B1, the YEARFRAC will return years between to two dates as a fractional number: = YEARFRAC (A1,B1) // years between two dates To get a whole number only (not rounded), you can use the INT function like this: = INT ( YEARFRAC (A1,B1)) // whole number only, discard decimal Calculate the number of months between two dates in the same year. You can also have it exclude weekends and holidays too. That's just one of many try one of the others: Optionally, try one of our other investment or economics tools. If you include the end date of May 6, 2025 which is a Tuesday, then there would be Name the range MyHolidays, and click OK. Then create the formula using the steps below. Dividing 17807 with 365 results in the number of years, 48.78 in this case. In order to use the LET function on this formula, we need to think about variables. In the resulting cell, the years and months are computed. With unit as "D,"we get "1155" days. Our videos are quick, clean, and to the point, so you can learn Excel in less time, and easily review key topics when needed. With MD as unit, we get "0" for days, when both month and year are ignored. The formula is in F9. This does not include the end date, so it's accurate if you're Find the distance of the point from the line answer, What is the purpose of a descriptive text, Exponents power of a power rule worksheet answers, 7.1 adding and subtracting polynomials answer key, Interval of convergence power series calculator with steps. The above example would be like this in Excel 2007: =NETWORKDAYS(D53,E53). As you saw above, the DATEDIF function calculates the difference between a start date and an end date. are used to match the calendar year with the astronomical year. However, June 1, 2000 to June 2, 2001 is 12 months. Calculates the age between the dates in A5 and A6, which is 12.08. For example, the age of a person who has lived for 3 years and 11 months is 3, and their age will increase to 4 on their next birthday one month later. Suppose, we need to find the difference between two dates without displaying the zero values. The result will probably look like a number and decimal. Here, cell B5 denotes the start date, while cell C5 denotes the end date. March 1st, 2023 is a Wednesday. The first date is "start" date, and the second date is "end" date, and "unit" is entered as text. And, thats it! Dummies has always stood for taking on complex concepts and making them easy to understand. For example, given a start date of 1-Jan-2018and end date of 1-Jul-2018, the result should be a string like this: The DATEDIF function is designed to calculate the difference between dates in years, months, and days. Then click Number > Decimal places: 2. I'll also calculate days, just to have that number available, too. Make sure to select Custom > h:mm AM/PM, if it isnt already set. With the LET function, the last argument is the calculation or value that returns a final result. The formula is in F9. Then, we subtract that from the original end date in cell E17, which is 5/6/2016. If I change the end date to March 15th, we'll get "14" days. Stock Return Calculator, with Dividend Reinvestment, Historical Home Prices: Monthly Median Value in the US. Excel treats months as values (1 through 12), which makes it easy to subtract an earlier date from another date as long as both dates fall in the same year. DECLARE @Swap DATETIME --If the Start Date is null, return a NULL and exit. Suppose, you are in charge of a number of tasks, you may want to remember how several months and years have transpired between two dates. How many years, months, days, hours, minutes, and seconds are there between two moments in time? Tip: Press ALT+ENTER to put line breaks in your formula. In Excel 2007, it would look like this: =NETWORKDAYS(D53,E53,{"1/1/2016","1/2/2016"}). We get "38" with both DATEDIF and our own formula. There are several variations available (e.g. Once you have determined what the problem is, you can begin to work on finding the solution. In the Type box, type [h]:mm. There are 31 days in this month. Learn Excel with high quality video training. You're only seeing one of many of our tools See one of our other date, hour, week, or birthday calculators: We also have other investment, personal finance, and economics tools. By the same token, choose the cell where you wish the calculated month to appear. The d returns the number of days. To account for a leap year occurring every 4 years, 365.25 is used in the formula. For example, you can determine that the amount of time elapsed between November 23, 1960, and May 13, 2014, is 53 years and five months.

\n

The formula that you use to find out the time between two dates in years and months uses a text string with two DATEDIF functions.

\n

Cell C4 shown contains the following formula:

\n\"image0.jpg\"/\n
=DATEDIF(A4,B4,\"Y\") & \" Years, \" & DATEDIF(A4,B4,\"YM\") & \" Months\"
\n

You accomplish this task by using two DATEDIF functions joined in a text string with the ampersand (&) operator.

\n

The first DATEDIF function calculates the number of years between the start and end dates by passing the year time unit (Y):

\n
DATEDIF(A4,B4,\"Y\")
\n

The second DATEDIF function uses the \"YM\" time unit to calculate the number of months, ignoring the year portion of the date:

\n
DATEDIF(A4,B4,\"YM\")
\n

Finally, you join these two functions with some text of your own to let users know which number represents years and which represents months:

\n
=DATEDIF(A4,B4,\"Y\") & \" Years, \" & DATEDIF(A4,B4,\"YM\") & \" Months\"
","description":"

Sometimes you need to be able to determine the amount of time between dates in years and months. Finally, the months are calculated between the two dates. First, however, let's calculate both years and months in a different way. For this, we need to know the birth date which is the start date in our dataset and also we need to know the exact day which we consider as the end date in our dataset. Most western countries use this age system. But if you want the duration of an event that includes Once you have decided which operation to use, you can solve the problem. You'll fix that in the next step. It can also add to Find the number of years, months, weeks, and days between dates. Make sure to type the hour, minute, and a space before the AM or PM. I love working with computers and solving problems. Make sure to type a full time, including the hour, minutes, and a space before the AM or PM. The ym returns the number of remaining months past the last full year. That divides the number of days by 7, since there are 7 days in a week. The syntax for the DATEDIF function is as below: Days Calculator: Days Between Two Dates How many days, months, and years are there between two dates? Choose Custom > h:mm so that the result excludes AM and PM. =(A5-A6)/365.25. This formula subtracts the first day of the ending month (5/1/2016) from the original end date in cell E17 (5/6/2016). For example, you can determine that the amount of time elapsed between November 23, 1960, and May 13, 2014, is 53 years and five months.

\n

The formula that you use to find out the time between two dates in years and months uses a text string with two DATEDIF functions.

\n

Cell C4 shown contains the following formula:

\n\"image0.jpg\"/\n
=DATEDIF(A4,B4,\"Y\") & \" Years, \" & DATEDIF(A4,B4,\"YM\") & \" Months\"
\n

You accomplish this task by using two DATEDIF functions joined in a text string with the ampersand (&) operator.

\n

The first DATEDIF function calculates the number of years between the start and end dates by passing the year time unit (Y):

\n
DATEDIF(A4,B4,\"Y\")
\n

The second DATEDIF function uses the \"YM\" time unit to calculate the number of months, ignoring the year portion of the date:

\n
DATEDIF(A4,B4,\"YM\")
\n

Finally, you join these two functions with some text of your own to let users know which number represents years and which represents months:

\n
=DATEDIF(A4,B4,\"Y\") & \" Years, \" & DATEDIF(A4,B4,\"YM\") & \" Months\"
","blurb":"","authors":[],"primaryCategoryTaxonomy":{"categoryId":33644,"title":"Excel","slug":"excel","_links":{"self":"https://dummies-api.dummies.com/v2/categories/33644"}},"secondaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"tertiaryCategoryTaxonomy":{"categoryId":0,"title":null,"slug":null,"_links":null},"trendingArticles":null,"inThisArticle":[],"relatedArticles":{"fromBook":[],"fromCategory":[{"articleId":288828,"title":"Excel 2021 All-in-One For Dummies Cheat Sheet","slug":"excel-2021-all-in-one-for-dummies-cheat-sheet","categoryList":["technology","software","microsoft-products","excel"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/288828"}},{"articleId":265521,"title":"How to Use the XLOOKUP Function in Excel 2016","slug":"how-to-use-the-xlookup-function-in-excel-2016","categoryList":["technology","software","microsoft-products","excel"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/265521"}},{"articleId":263475,"title":"Notes and File Sharing features in Excel 2016 Update","slug":"notes-and-coauthoring-features-in-excel-2016-update","categoryList":["technology","software","microsoft-products","excel"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/263475"}},{"articleId":263466,"title":"New Chart & Graphics features on Excel 2016 update","slug":"new-chart-graphics-features-on-excel-2016-update","categoryList":["technology","software","microsoft-products","excel"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/263466"}},{"articleId":263453,"title":"New Formulas and Functions in Excel 2016","slug":"how-to-use-new-formula-and-functions-in-excel-2016-update","categoryList":["technology","software","microsoft-products","excel"],"_links":{"self":"https://dummies-api.dummies.com/v2/articles/263453"}}]},"hasRelatedBookFromSearch":true,"relatedBook":{"bookId":281712,"slug":"excel-formulas-functions-for-dummies","isbn":"9781119839118","categoryList":["technology","software","microsoft-products","excel"],"amazon":{"default":"https://www.amazon.com/gp/product/1119839114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","ca":"https://www.amazon.ca/gp/product/1119839114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","indigo_ca":"http://www.tkqlhce.com/click-9208661-13710633?url=https://www.chapters.indigo.ca/en-ca/books/product/1119839114-item.html&cjsku=978111945484","gb":"https://www.amazon.co.uk/gp/product/1119839114/ref=as_li_tl?ie=UTF8&tag=wiley01-20","de":"https://www.amazon.de/gp/product/1119839114/ref=as_li_tl?ie=UTF8&tag=wiley01-20"},"image":{"src":"https://catalogimages.wiley.com/images/db/jimages/9781119839118.jpg","width":250,"height":350},"title":"Excel Formulas & Functions For Dummies","testBankPinActivationLink":"","bookOutOfPrint":true,"authorsInfo":"\n

Ken Bluttman is a veteran software and web developer specializing in Excel/VBA and database-centric web applications. If you're trying to figure out the date that occurs in Type a formula like the above example. which was created in 1582 and later adopted in 1752 by Note: Excel 2007 doesn't have the NETWORKDAYS.INTL function. Now lets calculate how old they were on that particular date. In this example, the start date is in cell D17, and the end date is in E17. Make sure to type a full time, including the hour, minutes, and a space before the AM or PM. start_date: [required] The first date is often known as the commencement date. Heres how: In this example, the start time is in cell D80 and the end time is in E80. We can calculate years and months between two dates using the VBA Code. \"https://sb\" : \"http://b\") + \".scorecardresearch.com/beacon.js\";el.parentNode.insertBefore(s, el);})();\r\n","enabled":true},{"pages":["all"],"location":"footer","script":"\r\n

\r\n","enabled":false},{"pages":["all"],"location":"header","script":"\r\n","enabled":false},{"pages":["article"],"location":"header","script":" ","enabled":true},{"pages":["homepage"],"location":"header","script":"","enabled":true},{"pages":["homepage","article","category","search"],"location":"footer","script":"\r\n\r\n","enabled":true}]}},"pageScriptsLoadedStatus":"success"},"navigationState":{"navigationCollections":[{"collectionId":287568,"title":"BYOB (Be Your Own Boss)","hasSubCategories":false,"url":"/collection/for-the-entry-level-entrepreneur-287568"},{"collectionId":293237,"title":"Be a Rad Dad","hasSubCategories":false,"url":"/collection/be-the-best-dad-293237"},{"collectionId":295890,"title":"Career Shifting","hasSubCategories":false,"url":"/collection/career-shifting-295890"},{"collectionId":294090,"title":"Contemplating the Cosmos","hasSubCategories":false,"url":"/collection/theres-something-about-space-294090"},{"collectionId":287563,"title":"For Those Seeking Peace of Mind","hasSubCategories":false,"url":"/collection/for-those-seeking-peace-of-mind-287563"},{"collectionId":287570,"title":"For the Aspiring Aficionado","hasSubCategories":false,"url":"/collection/for-the-bougielicious-287570"},{"collectionId":291903,"title":"For the Budding Cannabis Enthusiast","hasSubCategories":false,"url":"/collection/for-the-budding-cannabis-enthusiast-291903"},{"collectionId":291934,"title":"For the Exam-Season Crammer","hasSubCategories":false,"url":"/collection/for-the-exam-season-crammer-291934"},{"collectionId":287569,"title":"For the Hopeless Romantic","hasSubCategories":false,"url":"/collection/for-the-hopeless-romantic-287569"},{"collectionId":296450,"title":"For the Spring Term Learner","hasSubCategories":false,"url":"/collection/for-the-spring-term-student-296450"}],"navigationCollectionsLoadedStatus":"success","navigationCategories":{"books":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/books/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/books/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/books/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/books/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/books/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/books/level-0-category-0"}},"articles":{"0":{"data":[{"categoryId":33512,"title":"Technology","hasSubCategories":true,"url":"/category/articles/technology-33512"},{"categoryId":33662,"title":"Academics & The Arts","hasSubCategories":true,"url":"/category/articles/academics-the-arts-33662"},{"categoryId":33809,"title":"Home, Auto, & Hobbies","hasSubCategories":true,"url":"/category/articles/home-auto-hobbies-33809"},{"categoryId":34038,"title":"Body, Mind, & Spirit","hasSubCategories":true,"url":"/category/articles/body-mind-spirit-34038"},{"categoryId":34224,"title":"Business, Careers, & Money","hasSubCategories":true,"url":"/category/articles/business-careers-money-34224"}],"breadcrumbs":[],"categoryTitle":"Level 0 Category","mainCategoryUrl":"/category/articles/level-0-category-0"}}},"navigationCategoriesLoadedStatus":"success"},"searchState":{"searchList":[],"searchStatus":"initial","relatedArticlesList":[],"relatedArticlesStatus":"initial"},"routeState":{"name":"Article4","path":"/article/technology/software/microsoft-products/excel/calculating-the-number-of-years-and-months-between-dates-in-excel-148916/","hash":"","query":{},"params":{"category1":"technology","category2":"software","category3":"microsoft-products","category4":"excel","article":"calculating-the-number-of-years-and-months-between-dates-in-excel-148916"},"fullPath":"/article/technology/software/microsoft-products/excel/calculating-the-number-of-years-and-months-between-dates-in-excel-148916/","meta":{"routeType":"article","breadcrumbInfo":{"suffix":"Articles","baseRoute":"/category/articles"},"prerenderWithAsyncData":true},"from":{"name":null,"path":"/","hash":"","query":{},"params":{},"fullPath":"/","meta":{}}},"dropsState":{"submitEmailResponse":false,"status":"initial"},"sfmcState":{"status":"initial"},"profileState":{"auth":{},"userOptions":{},"status":"success"}}, Excel 2021 All-in-One For Dummies Cheat Sheet, How to Use the XLOOKUP Function in Excel 2016, Notes and File Sharing features in Excel 2016 Update, New Chart & Graphics features on Excel 2016 update.