Excel Formula: Get Percentage of Year Completed or Remained
Combine the function YEARFRAC together with YEAR and DATE functions in Excel can calculate the completed or remaining time of year in a percentage value based on the given date.
If you want to follow along with this tutorial, please download the example spreadsheet.
Year Completed
Generic formula:
YEARFRAC(DATE(YEAR(date),1,1),date) |
Syntaxt and Arguments
Date: to find the amount of time completed in the year based on this date. |
Return Value
This formula returns to a decimal value. For getting a percentage value, please format the result as percentage.
How this formula works
Let’s say to get the percentage of the year completed based on the date in B3, please use the formula as this:
=YEARFRAC(DATE(YEAR(B3),1,1),B3) |
Press Enter key to get a decimal value.
Then keep the result highlighted, click Home tab and go to click the Percent Style icon in the Number group for formatting the result as percentage.
Explanation
YEAR function: the YAER function is used to get the year of the given date and display the result in a serial number format.
Here the formula YEAR(B3) returns 2021, which is the year of the given date.
DATE function: the DATE function gets the date displayed as mm/dd/yyyy format based on the given year, month and day.
YEARFRAC function: calculates the difference between two dates and gets the fractional year in a decimal value.
In this formula YEARFRAC(DATE(YEAR(B3),1,1),B3), it gets the fractional year in a decimal value between the first day of the year and the given date.
=YEARFRAC(DATE(YEAR(B3),1,1),B3)
=YEARFRAC(1/1/2021,6/20/2021)
=0.469444
Year Remained
Generic Formula
1-YEARFRAC(DATE(YEAR(date),1,1),date) |
Take the above given date as an example, please use the below formula:
=1-YEARFRAC(DATE(YEAR(B3),1,1),B3) |
Press Enter key to get a decimal value.
Then keep the result highlighted, click Home tab and go to click the Percent Style icon in the Number group for formatting the result as percentage.
Explanation
The whole year can be seen as the integer 1, to minus the completed time of year, the remained time of year is figured out.
Relative Formulas
- Get date from given date month year
The DATE function can be used to get a standard date based on the given year, month and day in Excel. - Find earliest or latest date in each group
This article provides the formulas to find the earlist and lates dates in the same group in Excel. - Get day name from given date
This tutorial talks about how to use formula to get the day name such as Monday,Tuesday based on the given date. - Create weekly date range
In this tutorial, it provides a formula to quickly get the weekly date range in Excel.
Relative Functions
- Excel DATE Function
Create date with year, month and day - Excel YEAR Function
Returns the year of date in 4-digit serial number format - Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date - Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date - Excel NOW Function
Get the current time and date
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.
- Designed for 1500 work scenarios, helps you solve 80% Excel problems.
- Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
- Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
- 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
