How to Estimate Missing Data in Excel with Trend Analysis
Question details
The user needs to estimate or predict missing values, such as flow rate, pressure, and temperature, within a time-series dataset using Excel.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Analyzing time-series data that contains gaps in operational observations.
- Observed behavior
- Missing data points need to be filled correctly depending on whether they should be interpolated between known points or predicted from a model.
Ensure your time-series dataset is sorted chronologically and determine whether the missing values require simple interpolation (filling gaps) or advanced extrapolation (predicting future trends based on a model).
Fill Missing Data Using Linear Interpolation (FORECAST.LINEAR)
Use the FORECAST.LINEAR function to estimate missing values that fall between existing historical data points.
Linear interpolation is the best method for filling small gaps between known observations, assuming the change between the points occurs at a steady rate.
Locate the cell requiring the missing data (target time), your range of known values (y-values), and your range of known times (x-values).
Click on the empty cell where the missing value should be estimated.
Type the formula =FORECAST.LINEAR(target_time, known_values, known_times) into the formula bar.
Press Enter to calculate the estimated value. You can drag the fill handle to apply this to adjacent missing points if necessary.

Calculate Proportions Manually for Single Data Gaps
For isolated missing data points situated between two known observations, calculating the average or proportion manually provides a quick estimate.
Estimate Missing Data Accurately with WPS Spreadsheet
WPS Spreadsheet offers robust built-in statistical functions, including FORECAST.LINEAR and comprehensive regression tools, to easily handle time-series forecasting and missing data interpolation.
- 1. Open your dataset: Launch WPS Spreadsheet and open your workbook containing the time-series dataset.
- 2. Select the empty cell: Click on the cell corresponding to the missing data point.
- 3. Access the function library: Navigate to the Formulas tab, click 'Insert Function', and search for 'FORECAST.LINEAR'.
- 4. Input the variables: Select your target x-value, known y-values, and known x-values in the dialog box to accurately estimate the missing gap.

Frequently Asked Questions
Can I use exponential trends to estimate missing data instead of linear?
Yes. If your data grows or decays exponentially, you should use the GROWTH function instead of FORECAST.LINEAR to interpolate missing values accurately.
What is the difference between interpolation and extrapolation?
Interpolation estimates missing data points that fall inside the range of your known data (filling gaps). Extrapolation predicts future data points that fall entirely outside your known historical dataset.
How do I handle large blocks of missing data?
For extensive missing data, simple interpolation may be inaccurate. It is recommended to use regression analysis models or establish domain-specific relationships to accurately map the missing block.




