• Skip to main content
  • Skip to footer
Revelwood Logo

Revelwood

Your SUPER-powered WP Engine Site

  • Who We Are
    • About Us
      • Our Company
      • Our Team
      • Partners
    • Careers
      • Join Our Team
  • What We Do
    • Solutions
      • Workday Adaptive Planning
      • IBM Planning Analytics
      • BlackLine
    • Services
      • Implementation Services
      • Customer Care
        • Help Desk
        • System Administration as a Service
      • Training
        • Workday Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

IBM Planning Analytics Tips & Tricks

IBM Planning Analytics Tips & Tricks: Excel YEARFRAC

 

March 14, 2023

By Lee Lazarow

I often build models that define the fraction of a year for a given month. For example, January is approx. 8.5% of a calendar year (31/365) and September is approx. 11.5% of a working day’s calendar (30/260). But what happens in situations when you want to calculate the percentage of a year where the days are not the first or last day of the month? This is where Excel’s YEARFRAC formula can help.

The YEARFRAC function calculates the fraction of a year based on the number of whole days between two dates. Maybe you have summer employees and want to determine how much of the calendar year they will be employed or maybe you need to rent some equipment and pay based on an annual rate.

The function has two required parameters and one optional parameter:

=YEARFRAC(start_date, end_date, [basis])

  • Start_date (required)
    • Microsoft recommends using the DATE function for this value
  • End_date (required)
    • Microsoft recommends using the DATE function for this value
  • Basis (optional)
    • This determines the denominator using a series of approaches such as 360 vs 365 and whether you want to include the start date

Application, table, Excel

Description automatically generated

This function will allow you to quickly calculate decimals which can then be used for various forms of allocations, seasonality, and other types of spreads.

Revelwood has worked with IBM Planning Analytics / TM1 for more than 27 years. We’ve partnered with hundreds of companies on the design, development, maintenance and updates of IBM Planning Analytics applications, across every industry. Have a challenge with Planning Analytics / TM1? We can help you!

Read more IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: 21/21/21

IBM Planning Analytics Tips & Tricks: Beginning to Explore the Set Editor in Planning Analytics for Excel

IBM Planning Analytics Tips & Tricks: Creating Control Objects from the Modeling Workbench

Author

  • Lee Lazarow

    View all posts
    • Categories

      • Accounting and Accounts Receivable
      • Awards & Recognition
      • Data Analytics in Finance
      • Financial Close & Consolidation
      • FP&A Done Right
      • IBM Planning Analytics Tips & Tricks
      • News & Events
      • Success Stories
      • Tech Bulletins
      • Workday Adaptive Planning Insights
      • Workday Adaptive Planning Tips & Tricks

    Popular Posts

    Authors

    Adam Riskin
    Adam Riskin
    Brian Colucci
    Brian Colucci
    Brian Combs
    Brian Combs
    Cameron Burke
    Cameron Burke
    Dave Miersch
    Dave Miersch
    Ivan Cepero
    Ivan Cepero
    John Pra Sisto
    John Pra Sisto
    Jonathan Dunn
    Jonathan Dunn
    Ken Wolf
    Ken Wolf
    Lee Lazarow
    Lee Lazarow
    Lisa Minneci
    Lisa Minneci
    Luke Griffie
    Luke Griffie
    Marc Assenza
    Marc Assenza
    Mary Luchs
    Mary Luchs
    Michael Mari
    Michael Mari
    Michelle Song
    Michelle Song
    Revelwood
    Revelwood
    Robert Nordhagen
    Robert Nordhagen
    Simon Foley
    Simon Foley
    Thomas McDade
    Thomas McDade

    Sign up for our newsletter

    Connect

Footer

Revelwood Overview

Revelwood helps finance organizations close, consolidate, plan, monitor and analyze business performance. As experts in solutions for the Office of Finance, we partner with best-in-breed software companies by applying best practices guidance and our pre-configured applications to help businesses achieve their full potential.

EXPERTISE

  • Workday Adaptive Planning
  • IBM Planning Analytics
  • BlackLine

ABOUT

  • Who We Are
  • What We Do
  • How We Help
  • How We Think
  • Privacy

CONNECT

World Headquarters

Florham Park, NJ | 201 984 3030

European Headquarters

London & Edinburgh | +44 (0)131 240 3866

Latin America Office

Miami, FL | 201 987 4198

Email
info@revelwood.com

Copyright © 2025 · Revelwood Inc. All rights reserved. Revelwood® and the Revelwood logo are registered marks of Revelwood Inc.