+ Reply to Thread
Results 1 to 6 of 6

Excel Point Plotting

  1. #1
    Registered User
    Join Date
    07-12-2021
    Location
    Germany
    MS-Off Ver
    365
    Posts
    3

    Excel Point Plotting

    Hello guys,

    I would like to have an expert advise on point plotting and if the following is possible in Excel.

    I have values from year 1996 to 2021 which forms a curve and I have the end value for year
    2030. I want to trace the points between 2021 and 2030 based on the pattern of past values
    (i.e. values between 1996 and 2021).

    It is possible? Please help me out guys, I am stuck with my thesis.Example.jpg

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

    Re: Excel Point Plotting

    Short but useless answer -- Yes, this is possible.

    Generally, before plotting points onto a chart, one needs to calculate those values in the spreadsheet. How are you planning to perform the regression and/or smoothing and extrapolation? Are you looking for built in functions like the various FORECAST.xxxx() functions (https://support.microsoft.com/en-us/...0-93e0308d5f6e )? Do you have a different algorithm in mind?

    We are usually pretty good at programming algorithms into Excel, if you can help us understand the algorithm you want to use.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    07-12-2021
    Location
    Germany
    MS-Off Ver
    365
    Posts
    3

    Re: Excel Point Plotting

    Hello Shorty,

    thanks for your reply. Yes I did presume using excel linear forecast function to forecast the values, but
    I want those values plotted not only based on the past values but by also taking into consideration the
    end value.

    Otherwise, the values from 2022 to 2029 would show a subtle change and there would be spike because of the
    end value for year 2030 which would be a bigger value.

    I also tried using trendline and adjusting it such that it intersects the end point i.e value at 2030 but then
    it is very difficult to estimate exact values of the points on the curve manually.

    Would you have any other better ideas for this problem?

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

    Re: Excel Point Plotting

    I don't understand the algorithm you want to use. As I indicated, we can help with the programming if you can help us understand the algorithm.

    Assuming the years are in column A and the values are in column B, I can use =FORECAST(A1,$B$1:$B$35,$A$1:$A$35) to get the values along the best fit line for the data -- including the last point.

    If you are looking for a linear fit that is forced to through the point 2030, 1182, then we need to spend some time with the algebra to get the constrained fit through that data point.

    If you are looking for something else, help us understand what you want.

  5. #5
    Registered User
    Join Date
    07-12-2021
    Location
    Germany
    MS-Off Ver
    365
    Posts
    3

    Re: Excel Point Plotting

    Hello Shorty,

    There no as such any algorithm that I have in my mind, that is what I am exactly seeking help for.
    Exactly! I am looking for a linear or exponential curve fit between 2021 and 2030 that is forced through
    the point 1182.

    If you could please help with this, then it would be great. I am sooo stuck with my thesis for this calculation.

    Thanks for your reply and help!

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

    Re: Excel Point Plotting

    Before we get to the Excel programming part, we need to manipulate our regression equation so that we can force it through the specified point. Straight line, for example:

    regression equation: y=mx+b
    forced through desired point: 1182=m*2030+b
    solve for b: b=1182-2030m
    substitute back into original regression equation: y=mx+1182-2030m
    rearrange: y-1182=m(x-2030)
    if it helps to see the new regression equation, substitute v=y-1182 and u=x-2030: v=mu which is an equation for a straight line where b=0.

    In Excel, we can get m (and b) from such an equation using the LINEST() function https://support.microsoft.com/en-us/...a-fa7abf772b6d Add columns to calculate u and v in your spreadsheet, then use the LINEST() function to get m (3rd argument is FALSE to force b to be 0).

    For an exponential function ln(y)=mx+b, the procedure is similar.

    Try that and see if that is what you are looking for.

+ 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. Get 32000 point limit error when only plotting 1700 points
    By thetraderman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-16-2014, 02:35 PM
  2. Replies: 1
    Last Post: 12-23-2013, 06:29 PM
  3. Plotting ad hoc point at day 0
    By jasonjhc in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-10-2013, 06:59 AM
  4. Replies: 4
    Last Post: 12-22-2012, 04:54 PM
  5. [SOLVED] Plotting X and Y to a single point
    By mea in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 02-04-2006, 04:10 PM
  6. [SOLVED] I need more general XY point to point plotting than XY scatter in
    By spazminator in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 12-19-2005, 01:10 PM
  7. plotting 2 variables as scatter and naming each point
    By Jane in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-22-2005, 11:05 AM

Tags for this Thread

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