+ Reply to Thread
Results 1 to 2 of 2

Finding y values at regular x intervals

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    Dundee
    MS-Off Ver
    Excel 2010
    Posts
    1

    Finding y values at regular x intervals

    Hi!

    I have set of x and y values in irregular intervals (example below)
    x Y
    0 5
    .1 4
    2 6
    2.6 1
    4 -10
    5 20

    What I have to obtain is set of y values associated with x in regular intervals:
    x Y
    0 ?
    .5 ?
    1 ?
    1.5 ?
    2 ?
    2.5 ?

    Is there an easy way of interpolating x and y values?

    Thanks and best regards

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Finding y values at regular x intervals

    Hi

    Assuming that your example data including headings is in the range A1:B7 then

    A9:A19 contains the values 0, .5, 1, 1.5.....4.5,5
    B9: =VLOOKUP(A9,$A$2:$B$7,2)+(A9-VLOOKUP(A9,$A$2:$B$7,1))/(MATCH(A9,$A$2:$A$7)-VLOOKUP(A9,$A$2:$B$7,1))*(VLOOKUP(MATCH(A9,$A$2:$A$7),$A$2:$B$7,2)-VLOOKUP(A9,$A$2:$B$7,2))
    Copy down from B9:B19

    See how that goes.

    rylo

+ 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