Excel has no built-in "interpolate" command or button. To interpolate missing values between known data points, you use a formula that calculates a straight-line estimate, or you use Excel's own Fill > Series > Trend tool. Both work on a single column of numbers where the gaps are blank rows between known values. The formula method is the one to learn first because it updates automatically when your data changes.

What You'll Need

  • Excel on desktop (Windows or Mac) or Excel for the web. The formula works everywhere; the Fill > Series > Trend route is easiest on desktop.
  • A column of numbers with blank cells where the missing values are, plus a matching column of x-values (dates, time, or a simple index) so the gap size is known.
  • Your data sorted in ascending order of the x-value. Interpolation assumes the points either side of a gap are in order.

Step-by-Step

  1. Lay out the data. Put your known x-values (for example dates or a row number) in column A and the known y-values in column B. Leave the missing y-values as truly empty cells, not zeros. A zero is a real data point and will be treated as one.
  2. Identify one gap at a time. For each blank cell, note the known value above it and the known value below it, and their x-values. For example, if A2=1 and B2=10, and A5=4 and B5=40, the three missing points sit at x=2, 3 and 4.
  3. Enter the linear interpolation formula in the first blank cell. The general form is: known y below, minus known y above, divided by (x below minus x above), multiplied by (current x minus x above), plus known y above. With the example above and the current x in A3, the formula in B3 is =(B5-B2)/(A5-A2)*(A3-A2)+B2. Press Enter.
  4. Copy the formula down the gap. Drag the fill handle from B3 down to the last blank cell before the next known value. Relative references adjust so each row uses its own x-value. Check that the last filled cell lands on the known value below; if it does not, your references are off.
  5. Convert to values if you need to sort or share. Select the filled cells, copy, then use Paste Special > Values to replace the formulas with numbers. Keep a copy of the formula version if the source data may change.
  6. Alternative: use Fill > Series > Trend. Select the range including the known values and the blanks, with the known values at both ends. On the Home tab, open Fill > Series. Choose Columns (or Rows), pick Trend, and click OK. Excel fits a least-squares line through the known points and fills the blanks. This is quicker for long gaps but less transparent than a formula.
  7. Sanity-check the result. Interpolated values should sit between the two known values and move in the same direction. If a filled value falls outside that range, you have mixed up the above and below references.

Common Mistakes

  • Leaving zeros in the gaps. A zero is a real value, so the formula treats it as a known point and produces wrong results. Clear the cells first.
  • Sorting after interpolating. If the x-values are out of order, the "above" and "below" points are not the nearest neighbours and the estimate is meaningless. Sort first, then fill.
  • Using interpolation for curved data. Linear interpolation draws a straight line. For seasonal or curved data, a straight line can be far off; consider a trendline or a forecasting function instead.
  • Copying formulas with absolute references by accident. If you lock the wrong cell with $, every row uses the same x-value and the fill looks flat.
  • Interpolating across a real break. Do not bridge a gap where the series genuinely stops and restarts (for example, a sensor that was offline for a week). The estimate will look plausible but be wrong.

Tips

  • Add a helper column that flags which cells were filled, so you can tell estimates from measured values later.
  • Use a scatter chart with a trendline to see whether a straight line is a reasonable fit before you fill a long gap.
  • For a single missing value between two known points, the formula reduces to the simple average of the two neighbours.
  • Keep the original data in a separate sheet and do the interpolation on a copy, so you can always go back.

Troubleshooting

  • The formula returns #DIV/0!. The two x-values are identical, so the denominator is zero. Check that each x-value is unique and in order.
  • Filled values look wrong or jump around. Confirm the cells above and below are the nearest known values, not just the row above and below. A stray number in the gap breaks the logic.
  • Fill > Series > Trend is greyed out. The selection probably does not include the known values at both ends, or the range is not a single row or column. Reselect and try again.
  • Numbers appear as text. If a known value is stored as text, the formula may ignore it. Use Text to Columns or multiply by 1 to convert, then re-enter the formula.
  • You need to undo a fill. Press Ctrl+Z (Cmd+Z on Mac) immediately, or restore the original column from your backup sheet.

Frequently Asked Questions

Is there an INTERPOLATE function in Excel?

No. Excel has no function by that name. You build the calculation with a formula, or use Fill > Series > Trend, which fits a straight line through the selected values.

Can I interpolate more than one column at once?

Yes, if the x-values are shared. Write the formula for the first column, then copy it across to the other columns and down the gap. Each column needs its own known values at the ends.

What is the difference between interpolation and extrapolation?

Interpolation estimates values inside the range of known data. Extrapolation estimates beyond the last known point, and Excel's Trend fill will do that if you select cells past the end, but the result is far less reliable.

Does interpolation work with dates?

Yes, because Excel stores dates as numbers. Use the date cells directly in the formula; the result will be a date serial number, so format the filled cells as dates.

Can I interpolate on a phone?

You can type and copy the formula in the Excel mobile app, but the Fill > Series > Trend route is not available there. The formula method is the practical choice on mobile.

Will the filled values update if my data changes?

Yes, as long as you keep the formulas. If you converted them to values with Paste Special, they stay fixed until you redo the fill.