Next Live Training Date:

13- 17 May, 2013

Excel Years Fraction formula

Excel Years Fraction formula
Watch this video

How to use the Excel Years Fraction formula to calculate the fraction of a year between two dates

  • 01:24
  • Skill Level:
  • What's my skill level
    Flying screens

    All of our videos are listed by user Excel Skill Level.

    To find out your personal skill level, download our quick assessment.

    Once you've completed the test, send it to us and we'll evaluate for you.

    Download Test

  • Watch this Video

Excel Years Fraction formula

Excel years fraction formula allows you to determine the fraction of a year based on two dates.

Activate the function wizard, it must be on Date and Time- you need to find YEARFRAC – this returns the year fraction representing the number of whole days between Start_date and End_date. Click OK. Insert the start date- 1st Jan 09 (A11) and the end date 1st Jan 10 (B11). You can also insert the Basis – which is the type of day count basis to use. When I click OK you’ll see I get an answer – between the 1st Jan 09 and the 1st Jan 10 is a whole (one) year. If I copy this down, you’ll see that 15th June to 5th July is 0.06 of a year, and the 1st Jan to 1st June is 0.42 of a year. What is quite useful is we can then take the Year Frac numbers and multiply them by 12 (=E11*12) to determine the number of months between the two dates. In the first case the answer is 12 and if we copy down we see that between 15th June and 5th July it is 0.67 (just over half a month) and in the third case you will see it is 5.

Handy Tips & Tricks

Separating Lines within a cell

If I understand the query below correctly, the one idea is to type some words in a cell, and then, while holding the ALT key down, click ENTER. Within the cell you will get another line. Hope this helps. Original query Hi, … Continue reading

Share and Unshare workbooks

A recent email query asked how to share and unshare workbooks in Microsoft Excel with a specific focus on switching off the sharing. The method to share and ‘unshare’ the workbook is the same. As shown in the image below, … Continue reading

AuditExcel (aka Miricle Solutions) provided the Sasol Chlor Vinyls financial team with professional excel training whilst fully understanding the accounting landscape which is highly recommend.

– Sasol Polymers

Video Library & Tutorials //

View Entire Video Gallery ››

Spreadsheet tests

Spreadsheet tests

Spreadsheet Change Control

Spreadsheet Change Control

Waterfall chart using stock charts

Waterfall chart using stock charts

Absolute and Relative cell references

Absolute and Relative cell references

Some of our Featured Clients