Skip to main content

Excel Formula: Get Percentage of Year Completed or Remained

doc convert date to julia 1

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.
doc convert date to julia 1

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.
doc convert date to julia 1

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.
doc convert date to julia 1

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.
doc convert date to julia 1

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

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations