+ Reply to Thread
Results 1 to 6 of 6

Number of months remaining in the Fiscal Year

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,959

    Number of months remaining in the Fiscal Year

    We have an offschedule fiscal year that begins Sept 1 and ends Aug 31. I need a formula that will work through the years where if, for instance, my user puts in 12/9/2023, the formula will return the difference as a fractional month. I have that in the attachment, but that formula as it is now depends on a defined end of year date. But the year on the end date needs to be variable.

    Current formula is below, where A2 is the start date, and O2 is the end date. I don't want to have my user be responsible for the end date.
    ,
    Please Login or Register  to view this content.
    If begin date is 12/9/23 or 1/7/24, end of FY is 8/31/24, but if begin date is 12/9/24 or 1/7/25, end date is 8/31/25.
    How do I configure that variable end date in my formula?

    Any help would be appreciated.
    Attached Files Attached Files
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Number of months remaining in the Fiscal Year

    Try this for the end date:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Good luck!

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,959

    Re: Number of months remaining in the Fiscal Year

    Estevaoba, that formula returns the correct fiscal year end. So then should I use that formula as a replacement for O2 in my original formula, or is there a better way to do it?

  4. #4
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Number of months remaining in the Fiscal Year

    If you look up on the DATEDIF function, you'll find there are some restrictions about it, as for consistency and accuracy.
    But if it gives you results as expected, no problem using it, replacing O2 with my formula.

    Another option not using DATEDIF is this (Assuming my formula in O2):
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    I hope it helps.

  5. #5
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,959

    Re: Number of months remaining in the Fiscal Year

    I had never heard of the YEARFRAC function. Thanks for showing that one to me!

  6. #6
    Forum Expert
    Join Date
    06-05-2017
    Location
    Brazil
    MS-Off Ver
    Microsoft 365 Version 2404
    Posts
    1,259

    Re: Number of months remaining in the Fiscal Year

    You’re welcome. Glad to help.
    Thank you for the feedback and for the reputation added.
    Have a blessed day.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] calculating months between dates within a fiscal year
    By lacombeg in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-19-2020, 05:10 PM
  2. Replies: 13
    Last Post: 10-29-2019, 07:55 AM
  3. Calculate remaining complete months in a financial year after a date
    By RichardBl in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-28-2014, 10:14 AM
  4. [SOLVED] Sumifs adding together all the months of a fiscal year
    By laliparker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2014, 10:38 AM
  5. how to convert date to fiscal year if fiscal year start at 16th or 17th of July
    By sushil shakya in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-28-2013, 03:32 AM
  6. Excel 2007 : no of months in fiscal year
    By APPLEBEE in forum Excel General
    Replies: 1
    Last Post: 06-09-2011, 12:00 AM
  7. Fiscal year total from running 12 months
    By in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2005, 09:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1