+ Reply to Thread
Results 1 to 6 of 6

Interpolation between two values over a range

  1. #1
    Registered User
    Join Date
    05-04-2018
    Location
    Hamburg, Germany
    MS-Off Ver
    Microsoft 365
    Posts
    27

    Interpolation between two values over a range

    Hi,

    I want to interpolate two values in Excel.

    The first value is in cell "A1" and has the value "0". The second value is in cell "A20" and has the value "1".

    I now want to interpolate the values in cells "A2" to "A19" in such a way that a linear straight line is created between the values "0" and "1".

    The particular problem is that the cell numbers between "0" and "1" are not always the same size. Sometimes there are e.g. 10 cells between "0" and "1" and other times there are e.g. 25 cells between "0" and "1". Each interpolation has a different number of cells between the value "0" and the value "1".

    Is it possible to create a formula that automatically takes into account the different numbers of cells between "0" and "1" and calculates the interpolation between "0" and "1"?

    Many thanks for your help.
    Last edited by francis-bacon; 07-15-2021 at 11:10 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,036

    Re: Interpolation

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, in more detail - one word is not enough.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,036

    Re: Interpolation calculation with a formula

    The title is still not great. Please use this: Interpolation between two values over a range.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Interpolation between two values over a range

    You can try this, In B1, copied down as far as needed.

    It will be messy if you try to have values AND formulae in column A.

    In Germany you may need to use ; instead of ,
    Attached Files Attached Files
    Last edited by Glenn Kennedy; 07-15-2021 at 10:28 AM.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    05-04-2018
    Location
    Hamburg, Germany
    MS-Off Ver
    Microsoft 365
    Posts
    27

    Re: Interpolation between two values over a range

    Hi Glenn,

    thank for your help.

    Your formula works fine.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Interpolation between two values over a range

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this 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)

Similar Threads

  1. Interpolation
    By K.Lung in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-13-2016, 07:59 PM
  2. [SOLVED] Interpolation
    By coolzero in forum Excel General
    Replies: 8
    Last Post: 11-06-2012, 05:47 PM
  3. 2D interpolation
    By o0tintin0o in forum Excel General
    Replies: 1
    Last Post: 04-02-2012, 03:41 PM
  4. Replies: 0
    Last Post: 07-24-2008, 02:27 PM
  5. Interpolation
    By rambochuck in forum Excel General
    Replies: 1
    Last Post: 04-03-2008, 05:21 PM
  6. [SOLVED] 3D Interpolation
    By EStewart in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-01-2006, 11:55 AM
  7. help with interpolation and limit of interpolation
    By uriel78 in forum Excel General
    Replies: 0
    Last Post: 02-18-2005, 10: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