+ Reply to Thread
Results 1 to 8 of 8

Caclulating the sum between two known intergers assuming constant growth between them

  1. #1
    Registered User
    Join Date
    01-14-2016
    Location
    nottngham, england
    MS-Off Ver
    2010
    Posts
    5

    Unhappy Caclulating the sum between two known intergers assuming constant growth between them

    Hi all,

    This is related to my work (deadline is imminent and help woudl be greatly appreciated!). I imagine there is an easy answer but I have been unable to find it.

    I have traffic counts for two years 2017 and 2032. Assuming a constant growth between these two dates, can i calculate the sum of all the values between these two years (i.e. the total number of vehciles passing during this time period). It is kind of like the x! functiion on a calculator but the intergers wont be sequential.

    Daily HGVs
    2017 2032

    17 29

    195 396

    Is there a way to do this without creatng a table to caclute the number of vehicles for 2018, 2019 etc.. and then summing them?

    p.s. thanks to everyone who posts on here, your advice has saved me a number of times (yes that may be a little buttering up but it is true!!)

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    Can you show an example of the values that will be summed?
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    01-14-2016
    Location
    nottngham, england
    MS-Off Ver
    2010
    Posts
    5

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    Hi Deep Dave,

    I included them above but i see they aren't clear.

    Two sums please (there are about 80 i need to do in total!)

    2014 - 17 HGV's
    2032 - 29 HGV's

    2014 - 195 HGV's
    2032 - 396 HGV's

    thanks
    Last edited by jonny5010; 01-14-2016 at 05:38 AM.

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    Nope! I mean to say, can you tell me all the exact values between these 2 years that are to be summed?

  5. #5
    Registered User
    Join Date
    01-14-2016
    Location
    nottngham, england
    MS-Off Ver
    2010
    Posts
    5

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    I want to avoid having to calculate of of the indiviual values - i do not know them and only can assume a linear growth between those two dates (it works out at approxiamtely 0.8 HGV / year increase)

    I am hoping for a formula which assumes a linear growth between the two years. and then sums all of the integers automatically?

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    How did you arrive at 0.8 HGV / year increase?

    I am sorry for so many questions, but I am still unclear on the requirement.

  7. #7
    Registered User
    Join Date
    01-14-2016
    Location
    nottngham, england
    MS-Off Ver
    2010
    Posts
    5

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    ah! sorry my mistake, wrote 2014 but meant 2017. I have values for 2014 too but didnt want to complicate things... turns out its more complicated now!

    0.8 / year:

    2032 - 2017 = 15
    29-17 = 12


    12/15 = 0.8


    OK; there is a yearly increase in vehciles between 2017 and 2032. the increase in vehciles in linear.
    i want to know the TOTAL number of vehicles on the road between 2017 and 2032.
    I could do this by calculating a yearly increase and making a table then summing the results but that is time consuming and not effective. I would rather use a formula.
    So;
    the formula needs to sum all of the, at present, unknown intergers between the two years.

    i think when we get the answer, i'll make a new thread to tidy up this convo and make it easier for others to follow
    Last edited by jonny5010; 01-14-2016 at 08:05 AM.

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,858

    Re: Caclulating the sum between two known intergers assuming constant growth between them

    New Thread started here: http://www.excelforum.com/excel-gene...ween-them.html

    Mathophobe warning: This post will contain calculus and geometry.

    I will assume that you have had an introductory calculus course. In that course you should have learned that, among the interpretations of the definite integral are these:

    1) The definite integral represents "total change".
    2) The definite integral represents "area under the curve".
    (If these concepts are fuzzy, then I would recommend some kind of "introduction to the definite integral" refresher. Should be several across the internet. Obviously I cannot give you a full tutorial in a single forum post)

    calculus approach: given the equation for the curve (y=mx+b), which, I assume you can compute from the two points you will be given
    1) Take the integral of y=mx+b
    2) Evaluate at the limits of integrate and take the difference for total change (Fundamental theorem of calculus).
    3) Recognize that your 1712 answer represents a "Right hand" Riemann sum, you will need to think through your limits of integration to make sure the definite integral comes to the same result (since midpoint rules would tend to be more accurate for a "straight line" like this, probably integration limits based on the 0.5 year, 2016.5 to 2032.5).

    Geometric approach.
    1) Since total change can be represented as area under the graph, we can use anything we know about geometry and areas to find a solution. A straight line like this forms a trapezoid with the x axis, we can use the formula for the area of a trapezoid to solve the problem.
    2) Again, recognizing that we need to adapt the limits of integration to account for the "right hand sum" that is supposedly the correct answer, height of the trapezoid will likely need to be half year increments (2032.5 to 2016.5).

    Can I assume that you followed that well enough to implement the algorithm? If you get stuck, where do you get stuck?
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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. Replies: 8
    Last Post: 11-24-2015, 11:32 AM
  2. sales growth vs. headcount growth for recent years
    By ammartino44 in forum Excel General
    Replies: 1
    Last Post: 04-15-2015, 04:24 AM
  3. create chart for customer growth vs. expense growth
    By ammartino44 in forum Excel General
    Replies: 1
    Last Post: 04-06-2015, 01:19 PM
  4. Random Intergers
    By gregfetzer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-27-2012, 03:03 PM
  5. Replies: 3
    Last Post: 07-26-2005, 05:05 PM
  6. Constant growth
    By 050529 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-29-2005, 04:05 PM
  7. [SOLVED] Excel 2K - Caclulating a total time.
    By The Admiral in forum Excel General
    Replies: 10
    Last Post: 01-21-2005, 01:06 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