+ Reply to Thread
Results 1 to 7 of 7

Interpolation to find mid numbers

  1. #1
    Registered User
    Join Date
    03-11-2016
    Location
    London,England
    MS-Off Ver
    Windows 7
    Posts
    8

    Question Interpolation to find mid numbers

    I have following data set. First column shows tenor in years and second column shows interest rate for the respective tenor.

    Tenor
    /Years .......... Int rate
    10.26............... 6.00%
    12.18............... 9.00%
    12.35.............. 9.40%
    12.52............. 4.50%
    12.85............ 13.00%
    13.18............ 13.50%

    I want to prepare following table from the above data. First column should be middle numbers(half yearly tenors) adding 0.50 years to previous number. Example, to find interpolated interest rate for 11.00 tenor/years, interest rates for closet two tenors from the above table are to be used. For 11.00(tenor/years),its 6% and 9%. Likewise how can I fill the below "? " column? Thank you


    Tenor/
    Years ................. Interest rate
    10.50 ................... ?
    11.00 .................. ?
    11.50 ................. ?
    12.00 ................... ?
    12.50 .............. ?
    13.00 ............... ?
    Last edited by NG7267; 04-20-2016 at 03:47 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,006

    Re: Interpolation to find mid numbers

    Here, try this:
    Attached Files Attached Files
    Never use Merged Cells in Excel

  3. #3
    Registered User
    Join Date
    03-11-2016
    Location
    London,England
    MS-Off Ver
    Windows 7
    Posts
    8

    Re: Interpolation to find mid numbers

    Hi Zbor
    Thank you very much for solving the issue. This is perfectly working. Great !!!

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,172

    Re: Interpolation to find mid numbers

    Quote Originally Posted by zbor View Post
    Here, try this:
    If G1 = 10.26 result #DID/0
    add conditions like this:
    =IF(COUNTIF($A$1:$A$100,G1),VLOOKUP(G1,$A$1:$B$100,2,0),your formula)

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Interpolation to find mid numbers

    Hi
    Try to use
    =FORECAST(G1,OFFSET($A$1:$A$3,1/IFERROR(1/MATCH(G1+STDEV.P(A1:A6)/COUNT(A1:A6),$A$1:$A$6,1),1)-1,1),OFFSET($A$1:$A$3,1/IFERROR(1/MATCH(G1+STDEV.P(A1:A6)/COUNT(A1:A6),$A$1:$A$6,1),1)-1,0))
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See the differences (@Zbor solution gives me error when I use in G1 the value A1 or A2, ....)
    Regards

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,681

    Re: Interpolation to find mid numbers

    Given what the OP requested G1 would never be 10.26

    10.50 ................... ?
    11.00 .................. ?
    11.50 ................. ?
    12.00 ................... ?
    12.50 .............. ?
    13.00 ............... ?

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,006

    Re: Interpolation to find mid numbers

    I've changed mine solution. This is shorter and it should work as long as you have defined data.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Data in A column must be in ascending order.
    Attached Files Attached Files

+ 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. Find y value with f(x,y) and x value using double interpolation in 2d table
    By dave8635357 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-26-2014, 10:01 AM
  2. Find row number of a value from a table for interpolation
    By develaavi in forum Excel General
    Replies: 1
    Last Post: 02-13-2014, 01:55 AM
  3. Replies: 3
    Last Post: 08-20-2013, 03:59 AM
  4. Interpolation to find out the co-ordinates
    By jdbaba in forum Excel General
    Replies: 5
    Last Post: 09-27-2010, 07:37 AM
  5. Replies: 2
    Last Post: 12-08-2009, 12:21 PM
  6. Replies: 0
    Last Post: 07-24-2008, 02:27 PM
  7. [SOLVED] 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