How can I interpolate values off a table?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a function or method of programming which can be used to interpolate
or extrapolate values from a table?
 
If data is ordered ascending, e.g.:

A B
1 1
2 3
3 5
5 7
7 13

The following formula interpolates any value in the range:

=PERCENTILE(B1:B5,PERCENTRANK(A1:A5,C1,20))

Or if you want to use a "best fit" line for extrapolating try:

=FORECAST(C1,B1:B5,A1:A5)

with C1 as 6.5 the two formulas return 11.5 and 11.25 respectively.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top