Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Bernard Liengme wrote...
You have SLOPE, INTERCEPT and LINEST, making an interpolation is rather easy
from there.

....

LINEST would be gross overkill. Besides, FORECAST and TREND would be
far easier than any of these. The problem is that using it to
interpolate in a table (TBL) for a value (v) involves expressions like

TREND(OFFSET(TBL,MATCH(v,INDEX(TBL,0,XvalCol)),Yva lCol-1,2,1),
OFFSET(TBL,MATCH(v,INDEX(TBL,0,XvalCol)),XvalCol-1,2,1),v)

You may like these, but they are a bit long. When they're general like
this, they eat 3 levels of nested function calls. A simpler approach
would be handy, but I suspect we won't see it in Excel until a few
months after Hell organizes an Ice Hockey league.

  #3   Report Post  
MrShorty
 
Posts: n/a
Default


I would agree with the OP on this one. LINEST etc. are curve fitting
functions, not interpolating functions. Sometimes when you have a
table of data, it is easier/preferable to approximate the function as a
series of straight lines connecting the data points (similar to what a
line chart/XY chart does) rather than attempt to fit the data to a
curve.


--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=399062

  #4   Report Post  
Jerry W. Lewis
 
Posts: n/a
Default

Which you can do with LINEST etc. or more directly with TREND or
FORECAST by including just the relevant surrounding points (instead of
the entire data set) for a given interpolation.

Jerry

MrShorty wrote:

I would agree with the OP on this one. LINEST etc. are curve fitting
functions, not interpolating functions. Sometimes when you have a
table of data, it is easier/preferable to approximate the function as a
series of straight lines connecting the data points (similar to what a
line chart/XY chart does) rather than attempt to fit the data to a
curve.


  #5   Report Post  
MrShorty
 
Posts: n/a
Default


Correct you can use the built in functions for interpolation easily
enough, once you've located the interval containing the desired value.
And if you have a small dataset and/or only need to perform the
interpolation a few time, manually searching through the dataset for
the interval wouldn't be a problem. On the other hand, if you have a
large dataset or need to perform several interpolations, manually
searching for the interval and adjusting formulas accordingly gets
tedious. As Harlan points out, composing a formula to search for the
interval then interpolate is not a "pretty" formula. I wanted an
interpolate function when I converted to Excel from Quattro Pro (which
had a built in interpolation function), so I wrote a UDF, but it would
be nice if Microsoft would include it as a built in function.

Jerry W. Lewis Wrote:
Which you can do with LINEST etc. or more directly with TREND or
FORECAST by including just the relevant surrounding points (instead of
the entire data set) for a given interpolation.

Jerry

MrShorty wrote:

I would agree with the OP on this one. LINEST etc. are curve

fitting
functions, not interpolating functions. Sometimes when you have a
table of data, it is easier/preferable to approximate the function as

a
series of straight lines connecting the data points (similar to what

a
line chart/XY chart does) rather than attempt to fit the data to a
curve.



--
MrShorty
------------------------------------------------------------------------
MrShorty's Profile: http://www.excelforum.com/member.php...o&userid=22181
View this thread: http://www.excelforum.com/showthread...hreadid=399062



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 NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


All times are GMT +1. The time now is 04:10 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"