Match Arrays value and interpolate

shiv77patil's picture

Hi
I have two arrays say Xi(1000) and Yi(1000), I want to use match function in vba and find Match(Xlval,Xi(),-1),Match(Xlval,Xi(),1) so that i have x ordinate and in the same way I will find y ordinate and interpolate. Can i do this and how I should go to achive this

Please help me

Nick's picture

can you give us an example of

can you give us an example of the array, the input and the output..
also, take a look at this:
http://excelexperts.com/Excel-For-Finance-Tips-Interpolation
(not VBA, but might be useful)
tks