Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Elif
 
Posts: n/a
Default interpolation in excel

I want to use an interpolation table in excel. When I type in the value, I
want excel to look up the closest two values in the table and calculate the
corresponding value.
  #2   Report Post  
Bernd Plumhoff
 
Posts: n/a
Default

Some kind of an overkill - but obviously tested and
reliable (no guarantee but I found it very helpful):

http://www.codeproject.com/macro/InterpolationAddin.asp

HTH,
Bernd
  #3   Report Post  
Max
 
Posts: n/a
Default

One way to try
(for a one way interpolation)

Suppose you have the reference table
below in A1:B3

X Y
100 1.5
200 2.8
300 4.5

If you earmark say,
cell D1 for input of X values

then you could put in E1:

=IF(ISNA(MATCH(D1,A1:A3,0)),FORECAST(D1,B1:B3,A1:A 3),INDEX(B1:B3,MATCH(D1,A1
:A3,0)))

E1 will return the exact Y value from the reference table
if D1 contains an X value which matches (viz.: 100, 200, 300)

If D1 contains unmatched X values, say: 150,
E1 will return the interpolated value of: 2.183

Adapt to suit
--

And for a 2 way interpolation set-up to play with,
try this recent post: http://tinyurl.com/676wu

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Elif" wrote in message
...
I want to use an interpolation table in excel. When I type in the value, I
want excel to look up the closest two values in the table and calculate

the
corresponding value.



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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I isolate my Excel server (automation) from other Excel instances? Joseph Geretz Excel Discussion (Misc queries) 5 July 19th 13 03:18 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Excel 2002 and 2000 co-install. Control Which Starts ? cnuk Excel Discussion (Misc queries) 2 January 17th 05 08:07 PM
VB Automation is Whacking out my Excel Environment Joseph Geretz Excel Discussion (Misc queries) 2 December 29th 04 03:49 PM


All times are GMT +1. The time now is 04:39 PM.

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"