|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Lookup, Index, and Trend
Hi,
I don't use forums, etc... very often. Thanks, Ken ++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++ I'm trying to utilize this Excel formula to search "named" cells: =IF(B1=LOOKUP(B1,x,x), LOOKUP(INDEX(x,MATCH(LOOKUP(B1,x,x),x,0)x,y),TREND (y,x,B1)) The object: to return intermediate values uses (linear) extrapolation. The Problem: it doesn't work. Any suggestions greatly appreciated. ************************************************** ********* Formula is from "MS Excel 2000 Formulas" by J. Walkenbach (p. 230) Please see attached Excel File. Thanks! -Ken |
|
#2
|
||||
|
||||
|
Code:
<%
Dim oConn As New ADODB.Connection
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=C:\Book1.xls;" & _
"Extended Properties=""Excel 8.0;"""
' change Sheet1$ to your worksheet name
oRS.Open "Select * from [Sheet1$]", oConn, adOpenStatic
if oRS.eof then
response.write("No info here tom")
else
'do somthing with your formula don know what though Memnoch :D
end if
oConn.Close
%>
__________________
If it was working its not now
|
|
#3
|
|||
|
|||
|
Interpolation Problem
Thanks, though I've got to admit its "all greek to me" ;-)
My Excel programmiming has been very slight (a little more adept at MetaStock, etc...), is this VB code? or can it be entered in the formula bar? Thanks, MTT_14 Quote:
|
|
#4
|
||||
|
||||
|
No m8 Sorry,
I think i miss-understood this is asp i thought you wanted to access an excel file from a web page. There was talk of an MS office forum I dont know if this has come into effect I will find out for you. |
|
#5
|
|||
|
|||
|
Interpolation Problem
Basically I'm just trying to find the internediate values between to plots on a chart (one of which is accelerating (unevenly?) faster than the other.
Its too bad we can't attach xls files. Virus worries I guess ;-0 Thanks, mtt_14 Quote:
|
|
#6
|
|||
|
|||
|
Skip asked us to help
If you zip your file, you can attach it S- |
|
#7
|
|||
|
|||
|
Interpolation Problem
Doh!
Thanks ;-) Quote:
|
![]() |
| Viewing: ASP Free Forums > Other > ASP Free Lounge > Lookup, Index, and Trend |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|