+ Reply to Thread
Results 1 to 7 of 7

Calculate Recurring Cumulative costs

  1. #1
    Registered User
    Join Date
    05-08-2009
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    5

    Calculate Recurring Cumulative costs

    I need to be able to calculate the yearly projected amount of money I will pay each month for hosting data. I am okay with assuming a constant rate of growth and I know exactly how much I pay per GB. I have a way to calculate this... I just want to know if there is a shorter way.

    Right now I do this to calculate cost for 1 year:

    B14 = monthly rate of growth
    B15 = Cost per month

    =((B14)+(B14*2)+(B14*3)+(B14*4)+(B14*5)+(B14*6)+(B14*7)+(B14*8)+(B14*9)+(B14*10)+(B14*11)+(B14*12))*B15

    Is there a function that makes this easier?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,943

    Re: Calculate Recurring Cumulative costs

    =78*b14*b15
    Never use Merged Cells in Excel

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculate Recurring Cumulative costs

    Try:

    =SUMPRODUCT(B14*ROW(1:12))*B15
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    05-08-2009
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Calculate Recurring Cumulative costs

    MY apologies because I don't think I was clear before. I need to ask this another way.

    I need to be able to calculate a total amount spent over a period of time. There is no table that represents costs. I only have the following three inputs to provide for an equation (three cells worth of data in the spreadsheet):

    1 - months (can enter any number)
    2 - Storage growth (this is a fixed value at 10GB per month)
    3 - Storage hosting fee (this is a fixed value at $1 per GB)

    The way this works is as follows:

    The first month I add 10 GB of storage. This costs me $1
    The second month I add 10 GB of storage for a total of 20GB of storage. This costs me $2
    The third month I add 10 GB of storage for a total of 30GB of storage. This costs me $3

    Over the course of three months I have spent $6.


    In this example the $6 value is the number I need to be able to get out of the equation.

    I need a function that will allow me to input the rate of growth, the storage hosting fee and any number of months I want to give me a total amount spent over the variable amount of time.
    Last edited by TStone1; 05-11-2009 at 04:17 PM.

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculate Recurring Cumulative costs

    It's the sum of an arithmetic series:

    Amt1 is the amount spent in the first period

    AmtN is the amount spent in the Nth period

    The total is =N * (Amt1 + AmtN) / 2

    If the period-to-period difference is deltaA, then

    Total =N * (2 * Amt1 + (N - 1) * deltaA) / 2
    Last edited by shg; 05-11-2009 at 04:45 PM.
    Entia non sunt multiplicanda sine necessitate

  6. #6
    Registered User
    Join Date
    05-08-2009
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Calculate Recurring Cumulative costs

    Quote Originally Posted by shg View Post
    It's the sum of an arithmetic series:

    Amt1 is the amount spent in the first period

    AmtN is the amount spent in the Nth period

    The total is =N * (Amt1 + AmtN) / 2
    That did it! Thanks!

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Calculate Recurring Cumulative costs

    You're welcome. Would you please mark the thread as Solved?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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