Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default excel: how do i interpolate in an x-y data series?

I have a set of x-y data, where each pair are non-integers (generally) and
the relationship is monotonic.

I want to be able to enter an x value, and have excel find a corresponding y
value based on the data.

The x value argument is unlikely to correspond exactly to an x in the
dataset, so I want the function to interpolate between the x values itfalls
between to find a y-value.

Is there such a function?



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default excel: how do i interpolate in an x-y data series?

No built-in interpolate function. For jointly increasing data try:

=PERCENTILE(B:B,PERCENTRANK(A:A,C1,308))

where C1 is the value to interpolate from the first two columns.

where columns A an

On 16 May, 06:30, barqqing wrote:
I have a set of x-y data, where each pair are non-integers (generally) and
the relationship is monotonic.

I want to be able to enter an x value, and have excel find a corresponding y
value based on the data.

The x value argument is unlikely to correspond exactly to an x in the
dataset, so I want the function to interpolate between the x values itfalls
between to find a y-value.

Is there such a function?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default excel: how do i interpolate in an x-y data series?

Tue, 15 May 2007 22:30:00 -0700 from barqqing
:
I have a set of x-y data, where each pair are non-integers (generally) and
the relationship is monotonic.

I want to be able to enter an x value, and have excel find a corresponding y
value based on the data.

The x value argument is unlikely to correspond exactly to an x in the
dataset, so I want the function to interpolate between the x values itfalls
between to find a y-value.

Is there such a function?


Is the relationship merely monotonic, or does it fit a straight line
reasonably closely? If it fits a straight line, then that line has a
slope m and an intercept b, and for any given x value that you enter
the corresponding interpolated y is equal to m*x+b.

Suppose the known X's are in A1:A9 and the known y's in B1:B9. Then m
is =SLOPE(B1:B9,A1:A9) -- put that in say C1. The intercept is
=INTERCEPT(B1:B9,A1:A9) -- put that in say C2. Put your known x value
in say C4, and the corresponding interpolated y value is =C1*C4+C2.

Now, if the general x-y relationship isn't roughly a straight line,
the above technique won't work. To do the job right in that case,
you'll need to do some curve fitting.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default excel: how do i interpolate in an x-y data series?

Original post was truncated:

[...] columns A and B contain the x and y values respectively. In
general try array-entered (evaluate with ctrl+shift+enter):

=FORECAST(C1,B1:B10,IF((MATCH(C1,A:A)-A1:A10+0.5)^2<1,A1:A10))

On 16 May, 11:12, Lori wrote:
No built-in interpolate function. For jointly increasing data try:

=PERCENTILE(B:B,PERCENTRANK(A:A,C1,308))

where C1 is the value to interpolate from the first two columns.

where columns A an

On 16 May, 06:30, barqqing wrote:



I have a set of x-y data, where each pair are non-integers (generally) and
the relationship is monotonic.


I want to be able to enter an x value, and have excel find a corresponding y
value based on the data.


The x value argument is unlikely to correspond exactly to an x in the
dataset, so I want the function to interpolate between the x values itfalls
between to find a y-value.


Is there such a function?- Hide quoted text -


- Show quoted text -



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't get my graph to interpolate my missing data Sean Excel Discussion (Misc queries) 4 June 5th 08 08:11 AM
Interpolate data pjd33 Excel Discussion (Misc queries) 2 March 8th 07 03:35 PM
IS THERE A WAY TO INTERPOLATE AUTOMATICALLY WITHIN A DATA TABLE? Eric S. New Users to Excel 3 June 16th 05 05:55 AM
interpolate missing data between points Rocket Rod Excel Worksheet Functions 2 February 27th 05 07:24 PM
how do i interpolate data mp Excel Discussion (Misc queries) 1 February 8th 05 04:33 PM


All times are GMT +1. The time now is 05:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"