+ Reply to Thread
Results 1 to 5 of 5

Linear interpolation between two numbers in Excel to solve for y?

  1. #1
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Linear interpolation between two numbers in Excel to solve for y?

    Hi all,

    I have two known data points I need to interpolate between.

    x1 = 1, y1= 0,85

    x2 = 5, y2= 1,0

    I want to solve this for x = 1,32 and find the corresponding y value.

    Doing it by hand, I found that the gradient is change in Y/change in X = 0,15/4 = 0,0375

    So, an increase of +0,32 from 1 to 1,32 along x, should give an increase of 0,32 * 0,0375 = 0,012 in Y direction.

    So, y(1,32) = 0,85 + 0,012 = 0,862, which seems correct.

    But, I'm thinking that it would be better to present this in Excel since it's part of a presentation. I was thinking there'd be a way to interpolate, but it seems harder than I imagined it to be.

    Any advice?

    Thanks in advance!

    Elijah
    Last edited by Elijah; 01-24-2017 at 10:05 AM.

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

    Re: Linear interpolation between two numbers in Excel to solve for y?

    For something like this, where there are only two data points, I tend to use the TREND() function: https://support.office.com/en-us/art...3-9a7cf7b51ef1
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Re: Linear interpolation between two numbers in Excel to solve for y?

    Hi, thanks.

    As simple as this is, I'm embarassed to say I wasn't able to create it in Excel. Any pointers on how to proceed?

    Thanks!

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

    Re: Linear interpolation between two numbers in Excel to solve for y?

    As simple as this should have been, I would be curious to see what you have tried that did not work. That would help us see what you are not understanding.

    I would have expected you to:
    1) Enter 1 into B2, 5 in B3, 0.85 in C2, 1 in C3.
    2) Enter =TREND(C2:C3,B2:B3,1.32) into a cell.

  5. #5
    Forum Contributor
    Join Date
    03-31-2010
    Location
    Norway
    MS-Off Ver
    Excel 365
    Posts
    632

    Re: Linear interpolation between two numbers in Excel to solve for y?

    Thanks a lot, Shorty! Worked great!

+ 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. [SOLVED] Does Excel have a linear interpolation function?
    By dlamoure in forum Excel General
    Replies: 2
    Last Post: 06-06-2017, 02:17 AM
  2. Linear Interpolation help
    By jsuarez199 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-21-2013, 03:12 PM
  3. How to use the Linear Interpolation Formula in Excel 2010
    By emmanuelsekimpi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-09-2013, 04:41 AM
  4. VBA Linear Interpolation
    By WAW in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-25-2010, 04:55 PM
  5. Replies: 1
    Last Post: 08-19-2006, 08:20 PM
  6. linear interpolation function in excel
    By tskoglund in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-09-2005, 11:05 PM
  7. linear interpolation
    By Taha in forum Excel General
    Replies: 3
    Last Post: 01-31-2005, 11: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