Excel Linear interpolation function within 1‑dimensional table
Linear interpolation within a 1-dimensional table can be done with regular MS Excel functions. But it will become a pretty long formula, that is hard to read and/or copy across. You can also implement a user defined function (VBA) interpolateX. The VBA code of this function is found at the end of this page. This function works both for ascending and descending header data, and both for horizontally or vertically organized data. The LAMBDA equivalent L_InterpolateX is found below as well. LAMBDA functionality exists since Office365/Excel 2021. LAMBDA functions are user defined functions created directly within Excel's Name Manager. They execute faster than VBA.
Download demo file
(35kB - downloaded 1442 times).
If you want to create a curve that goes through all your data points in order to interpolate, see Splines interpolation.
If you want to interpolate both X and Y values within a 2-dimensional table, see Bilinear interpolation (linear/spline based).