excel - INTERPOLATION IN VBA - Stack Overflow
stackoverflow.com › questions › 13030660Oct 23, 2012 · Show activity on this post. If you really want to interpolate between the two points where there's no exact match, the closest you could get is something like: interpolated = y1 + ( (xs-x1)/ (x2-x1))* (y2-y1) Where x1, x2 are the values from your first row and xs is the "search" value entered by your user. y1, y2 are the corresponding two ...