Finding a normalised interpolation parameter

Hello!

I have two lists of data. For the first list I have a value for which I would like to find the normalised interpolation parameter using which I could get an interpolated value from the second list. Is there an easy way for finding the parameter or a way for doing linear interpolation with two lists in grasshopper?


Interpolation.gh (6.8 KB)

See if this is correct for you:


Interpolation.gh (15.7 KB)

Yes, the first one works, did not try the second one. Thank you!