Skip to content

Instantly share code, notes, and snippets.

@bwoods
Created December 9, 2017 03:16
Show Gist options
  • Save bwoods/4d577aaad0fb53dcea7c9972f89d2300 to your computer and use it in GitHub Desktop.
Save bwoods/4d577aaad0fb53dcea7c9972f89d2300 to your computer and use it in GitHub Desktop.
Linear Interpolation in a Spreadsheet
FORECAST(x,
INDEX(ys,MATCH(x,xs,1)):INDEX(ys,MATCH(x,xs,−1)),
INDEX(xs,MATCH(x,xs,1)):INDEX(xs,MATCH(x,xs,−1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment