+ Reply to Thread
Results 1 to 2 of 2

Obtaining cell-based data from a moving trendline? Predicting data question!

  1. #1
    Registered User
    Join Date
    04-26-2009
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    1

    Obtaining cell-based data from a moving trendline? Predicting data question!

    I'm sure this is an incredibly simple question, but I can't quite figure it out and doing it manually would be absurdly time consuming.

    Basically, I'm compiling voting data for national elections in order to compare it to another variable. However, the variable I'm comparing it to often takes place in a non-national election year.

    So, I need to construct moving averages for the elections. I can do it graphically like this:
    \1

    So, as an example of what I'm after, take a look at Ireland. They had an election in '77 and '81, but nothing in between. I'd like to "predict" data (in cell form) for '78, '79, '80 assuming a simple linear relationship (literally (Turnout, 1977) to (Turnout, 1981).)

    I understand the problems with doing this from a statistical point of view, but that's the "data" I'm after.

    Here's an example from the cell-view:
    \1
    Blue indicates predicted, yellow indicates real election data.

    I can manually compute the averages as I did there, but I'm sure there's a quicker way using trendlines, and it would also make computing non-odd points a bit easier.

    Any ideas? I've attached a pared-down spreadsheet if anyone needs it.

    Thanks in advance!

    TC
    Attached Files Attached Files

  2. #2
    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: Obtaining cell-based data from a moving trendline? Predicting data question!

    Welcome to the forum.

    This uses a macro to do a straight interpolation. You can copy the formulas left and right to complete the table.
    Attached Files Attached Files
    Last edited by shg; 04-27-2009 at 01:53 PM.
    Entia non sunt multiplicanda sine necessitate

+ 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