Closed Thread
Results 1 to 4 of 4

Formula to Spread Costs Between Months and Years

  1. #1
    Registered User
    Join Date
    07-26-2006
    MS-Off Ver
    Office 365
    Posts
    97

    Formula to Spread Costs Between Months and Years

    Hello,
    I have an issue I think I may be looking at incorrectly and can't seem to find a simple solution. See attached. (I added in some arrows for the first month so it is easier to follow the logic)

    I am working with monthly revenues. Revenues are earned in a specific month but only a % is received in that month and over the next 4 months. I need a formula that will spread these revenues earned in 1 month over the next 4 months.

    Currently, I have a complex Index/Match formula which works until September. September, October, November, and December do not work correctly because once the months roll over from month 12 (December) back down to month 1 (January), my formula cannot recognize the range.

    Essentially, I need the formula to return the correct amount that is being paid, even across different years.

    I don't know if my formula can be modified or a new formula would be more efficient. Any feedback would be helpful. Thank you

    (This post originated from Commercial Services, which I just requested be removed from that forum)
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Formula to Spread Costs Between Months and Years

    Try this..

    In Q21
    =IFERROR(INDEX($Q$14:Q$18,MOD(COLUMN(A$1)+1-ROW($A1),12),IF(ROW($A1)>=9,0,COLUMN(A$1)-MOD(COLUMN(A$1),12))+ROW($A1)),0)

    Copy down and across
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-26-2006
    MS-Off Ver
    Office 365
    Posts
    97

    Re: Formula to Spread Costs Between Months and Years

    Wow! Thank you!
    This formula is a thing of beauty. I don't think I have ever used INDEX without MATCH. I am going to study this. I am sure I will need it in the future. Thank you!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Formula to Spread Costs Between Months and Years

    Cardan,

    Its against the forum rules to post in both the paid forum and the free forum at the same time.

    Please keep in mind for future threads.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Age based on DOB; Accounts for leap years. Years old if >2, Months if <2 years old.
    By sharpmel in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-17-2013, 04:20 PM
  2. [SOLVED] How do i convert years to months (formula)
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-06-2005, 07:05 AM
  3. How do i convert years to months (formula)
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  4. How do i convert years to months (formula)
    By SDPMIAMI in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

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