ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do i interpolate data (https://www.excelbanter.com/excel-discussion-misc-queries/12068-how-do-i-interpolate-data.html)

mp

how do i interpolate data
 
I have some data with gaps in it, and need to fill them accurately using
interpolation. How do I do that?


Bill Martin -- (Remove NOSPAM from address)

mp wrote:
I have some data with gaps in it, and need to fill them accurately using
interpolation. How do I do that?


You can't fill them "accurately" with interpolation. Interpolation is a
guess of what data maybe, might, possibly be what should go there.

And depending on the nature of the data there are lots of ways to do
interpolation. Linear, polynomial, exponential, etc. If you have an
interest rate problem for example and fill it in with linear
interpolation you're guaranteed inaccurate data points. You've got to
know more about the nature of your problem and what sort of curve fits
it best.

For simple linear interpolation between two points (X1,Y1) and (X2,Y2)
the equation to find a value Y for an unknown X is:

Y = Y1 + (X-X1)*(Y2-Y1)/(X2-X1)

Good luck...

Bill


All times are GMT +1. The time now is 09:12 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com