![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Join Date: May 2002
Posts: 8
|
I have a series of x and corresponding y values and need to find the values in between. An example:
X - values Y-values 1 34 2 31 5 29 9 25 15 18 17 17 18 13 22 8 25 2 26 1 How do I find an interpolated y-value for each x (1, 2, 3, 4, 5, 6, 7, etc)? |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Jul 2002
Posts: 30,072
|
Look at the Forecast function in help.
|
|
|
|
|
|
#3 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,653
|
Here are the first 15 rows...
******** ******************** ************************************************************************>
[HtmlMaker 2.20] To see the formula in the cells just click on the cells hyperlink or click the Name box PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR. [ This Message was edited by: Mark W. on 2002-09-11 07:39 ] |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
#4 |
|
Join Date: May 2002
Posts: 8
|
Thank you! It works except for one thing; my x and y values are not linearly correlated, making the forecasted y-values not following the trend... For each x where I don't have a y-value, I would need to make an interpolation between the closest known y-values... have the feeling it's not such a big problem, but so far I haven't had any success..
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|