EDUCBA

EDUCBA

MENUMENU
  • Free Tutorials
  • Certification Courses
  • 120+ Courses All in One Bundle
  • Login
Home Excel Excel Resources Excel Tips Linear Interpolation in Excel
Secondary Sidebar
Excel Functions
  • Excel Tips
    • Recover Document in Excel
    • Excel Shortcut to Select Row
    • Excel Header Row
    • Excel Insert Button
    • Excel Translate
    • Budget in Excel
    • KPI Dashboard in Excel
    • Blank Invoice Excel Template
    • Write Formula in Excel
    • Auditing Tools in Excel
    • Autofit Row Height in Excel
    • Formatting Text in Excel
    • Add Rows in Excel Shortcut
    • Divide Cell in Excel
    • Compare Two Columns in Excel for Matches
    • Excel Troubleshooting
    • Unprotect Excel Workbook
    • Subtract Date in Excel
    • Carriage Return in Excel
    • Negative Numbers in Excel
    • Worksheets in Excel
    • Excel Match Multiple Criteria
    • Exponential Moving Average Formula
    • Sentence Case in Excel
    • Excel Reverse Order
    • Excel Timesheet Template
    • Weighted Average in Excel
    • CTRL Shift-Enter in Excel
    • Excel Expense Tracker
    • INDEX MATCH Function in Excel
    • Percent Change in Excel
    • Drag and Drop in Excel
    • Shade Alternate Rows in Excel
    • Excel Database Template
    • Inverse Matrix in Excel
    • New Line in Excel Cell
    • Format Cells in Excel
    • Excel Text with Formula
    • Project Management Template in Excel
    • Vlookup vs Index Match
    • Embedded in Excel
    • Count Colored Cells in Excel
    • Excel Hacks
    • Column Header in Excel
    • Database Function in Excel
    • Excel Spell Check
    • Linear Interpolation in Excel
    • Convert Excel to CSV
    • Excel Not Responding
    • Delta Symbol in Excel
    • Excel Mortgage Calculator
    • Excel Show Formula
    • Break Links in Excel
    • VLOOKUP Examples in Excel
    • Alternate Row Color Excel
    • Checklist in Excel
    • Microsoft Office Tips
    • Excel vs Access
    • Excel Change Case
    • Count Characters in Excel
    • Formula Bar in Excel
    • Invoice Template in Excel
    • Find and Replace in Excel
    • PowerPivot in Excel
    • Wildcard in Excel
    • Line Break in Excel
    • NULL in Excel
    • Text Formula in Excel
    • Family Tree in Excel
    • Insert Calendar in Excel
    • Page Setup in Excel
    • Search For Text in Excel
    • Switching Columns in Excel
    • 3D Cell Reference in Excel
    • Roadmap Template in Excel
    • Cell References in Excel
    • Excel Automation
    • Matching Columns in Excel
    • Evaluate Formula in Excel
    • How to Find Mean in Excel
    • How to Add Cells in Excel
    • Project Timeline in Excel
    • TODAY Formula in Excel
    • Poisson Distribution in Excel
    • YEAR Formula in Excel
    • REPLACE Formula in Excel
    • Create Spreadsheet in Excel
    • SEARCH Formula in Excel
    • HYPERLINK Formula in Excel
    • Pivot Table with Multiple Sheets
    • COLUMNS Formula in Excel
    • DAY Formula in Excel
    • RIGHT Formula in Excel
    • INDIRECT Formula in Excel
    • Excel IRR Formula
    • Pivot Table Sort
    • OR Formula in Excel
    • Pivot Table Formula in Excel
    • How to Edit Drop Down List in Excel?
    • WEEKDAY Formula in Excel
    • Chart Wizard in Excel
    • Time Difference in Excel
    • Lookup Table in Excel
    • SUBTOTAL Formula in Excel
    • LOOKUP Formula in Excel
    • Themes in Excel
    • Group Worksheets in Excel
    • Excel ISNUMBER Formula
    • 3D Maps in Excel
    • VLOOKUP Tutorial in Excel
    • Moving Columns in Excel
    • Grouping Columns in Excel
    • Excel Formula of Percentage
    • Excel Leading Zeros
    • Timesheet in Excel
    • Nested IF Formula in Excel
    • SUMIF Formula in Excel
    • Concatenation in Excel
    • Excel Insert Page Break
    • LEN Formula in Excel
    • Insert Comment in Excel
    • Excel Print
    • Fractions in Excel
    • Excel Add a Column
    • Borders in Excel
    • Excel Sum by Color
    • Excel vs Google Sheets
    • Calculate Percentage Increase in Excel
    • Excel Format Phone Numbers
    • Excel Search Box
    • Excel vs CSV
    • Excel vs Numbers
    • Excel Concatenate Date
    • Excel Bullet Points
    • Calculate Compound Interest in Excel
    • Find External Links in Excel
    • Excel Comma Style
    • Excel Remove Leading Spaces
    • Combine First and Last Name in Excel
    • How to Calculate Ratio in Excel
    • SUMPRODUCT Function with Multiple Criteria
    • Create Excel Template
    • Excel Greater than or Equal
    • Excel Keyboard Shortcuts
    • Excel Row vs Excel Column
    • Excel Operators
    • Excel Text Compare
    • Excel Uppercase Function
    • Excel Auto Numbering
    • Watermark in Excel
    • Excel Delete Row Shortcut
    • Excel Word Count
    • Row Count in Excel
    • Excel Grade Formula
    • Excel Percentage Difference
    • Excel Rows and Columns
    • Excel Group
    • Excel Move Columns
    • Excel Row Height
    • Excel Sparklines
    • Excel Drawing a line
    • Multiple IFS in Excel
    • Excel Strikethrough
    • Numbering in Excel
    • Share Excel Workbook
    • Excel Shortcut For Merge Cells
    • Excel OneDrive
    • Excel Track changes
    • Excel Hide Formula
    • Excel Filter Shortcuts
    • Excel 3D Reference
    • Protect Excel Workbook
    • Excel Moving Averages
    • Excel Row Limit
    • Excel Absolute Value
    • Excel Print Area
    • Excel Format Painter
    • Excel Separate text
    • Excel Autofit
    • Excel Columns to Rows
    • Excel Paste Shortcut Option
    • Excel Rows to Columns
    • Excel Insert Row Shortcut
    • Excel Extensions
    • Excel Unmerge Cells
    • Divide in Excel Formula
    • Excel Compare Two Columns
    • Not Equal To Excel
    • Excel Remove Duplicates
    • Excel Remove Spaces
    • Excel Calculate Age
    • Copy Excel Sheet
    • Excel Conditional Formatting Based on Another Cell Value
    • Excel Cell Reference
    • Excel Split Cell
    • Excel Circular Reference
    • Highlight Every Other Row in Excel
    • Errors in Excel
    • Excel Delete Pivot Table
    • Excel Pivot Table
    • Subtraction in Excel
    • Count Unique Values in Excel
    • Excel Highlight Duplicates
    • Excel Data Formatting
    • Random Numbers in Excel
    • Page Numbers in Excel
    • Excel CAGR Formula
    • Excel Combine cells
    • IFERROR with VLOOKUP in Excel
    • Column Sort in Excel
    • Print Comments in Excel
    • Cheat Sheet of Excel Formulas
    • Remove Hyperlinks in Excel
    • Remove (Delete) Blank Rows in Excel
    • Relative Reference in Excel
    • Subscript in Excel
    • Superscript in Excel
    • Excel Insert Multiple Rows
    • Excel Absolute Reference
    • Unhide Columns in Excel
  • Excel Functions (12+)
  • Excel Tools (114+)
  • Financial Functions in Excel (17+)
  • Logical Functions in Excel (14+)
  • Lookup and Reference Functions in Excel (36+)
  • Maths Function in Excel (47+)
  • TEXT and String Functions in Excel (26+)
  • Date and Time Function in Excel (24+)
  • Statistical Functions in Excel (59+)
  • Information Functions in Excel (4+)
  • Excel Charts (56+)
  • Workplace Productivity (4+)
  • Microsoft Office Tools (15+)
  • Excel Formula and Functions (22+)
  • MS Excel Shortcuts (4+)
Excel Functions Courses
  • EXCEL COURSE
  • Online Excel Data Analysis Course
  • Excel for Finance Course

Linear Interpolation in Excel

By Madhuri ThakurMadhuri Thakur

Linear Interpolation In Excel

Excel Linear Interpolation (Table of Contents)

  • What is Interpolation?
  • Interpolation With Forecast Function in Excel
  • Examples of Linear Interpolation in  Excel

What is Interpolation?

In the world of mathematics, interpolation is a method of creating new data points with the help of known data points. Interpolation estimates the value based on the existing available data values, which are relatable.

Start Your Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

For Example – If we drive a bike at 60 Km/hour and reached a particular destination in 1 hour, and if we drive at 45 Km/hour and reached a particular destination in 45 minutes. So how much time will it take to reach a destination if we drive at 30 Km/hour?

Linear interpolation in excel 1-1

Using simple mathematics, we can calculate the missing values in the above example. We need to insert the below formula in cell B4.

=B2+ (A4-A2)*(B3-B2)/ (A3-A2)

Linear interpolation in excel 1-2

So on the basis of the above formula, we can say it takes 30 minutes to reach the destination if we drive at 30 km/hour.

Linear interpolation in excel 1-3

Let’s try to break the above formula and understand the formula in detail.

=B2+ (A4-A2)*(B3-B2)/(A3-A2)

In the above example, the last section of the formula, which is highlighted in red, calculates how much time taken changes whenever the speed of the bike changes by 1. In our example, the time taken changes by 1 minute when the speed of the bike changes by 1 km/hour.

=B2+ (A4-A2)*(B3-B2)/ (A3-A2)

The second section (in blue above) calculates how far our speed of the bike is away from the first speed of the bike given, then multiplies it by the value calculated above.  Based on our example, it is 30 (Cell A4) minus 60 (Cell A2), the result of which is then multiplied by 1 (which equals -30).

=B2+ (A4-A2)*(B3-B2)/ (A3-A2)

Finally, in the first section of the formula (in brown above), we add the first value of the speed of the bike.  In our example, this provides the final result of 60 + (-30)*(1) = 30 Minutes.  In school, we used to use the below formula to calculate the missing value of Y.

Y = Y1 + (X-X1)* (Y2-Y1)/(X2 – X1)

This is an example of how to calculate the missing values with the help of a manual formula to understand interpolation.

Excel has an inbuilt function that does a similar calculation as above, and it is known as FORECAST Function. Now we will learn this function in detail now.

Interpolation with Forecast Function in Excel

A forecast is a Worksheet Function available in MS Excel, and it uses linear regression to find out the missing value. Forecast, as its name, suggests it is used to forecast the future value of a data point, but it can also be used to interpolate a value. Basically, it is used to calculate the future value based on the Existing values of a specific data set.

Syntax of Forecast Function

Forecast syntax

Arguments of Forecast Function:

  •  x – It is a data point for which we want to know the resultant value.
  • Known_y’s – Range of cells containing the values of Y.
  • Known_x’s – Range of cells containing the values of X.

Now considering the same above example, let us try to use the Forecast function.

In our example,

x – Cell B4 (as we want to find out the time taken when speed is 30 km/hour).

Known_y’s – Cell B2 to Cell B3 (Time taken for the known speed of bike).

Known_x’s – Cell A2 to Cell A3 (Speed of the bike already given for which we know the time taken).

So final formula in cell B4 will be as below:

=FORECAST(A4,B2:B3,A2:A3)

forecast linear interpolation in excel 1-5

And as you can see, the final result is the same, i.e. 30 Minutes.

forecast linear interpolation in excel 1-6

For creating a chart, go to the Insert menu, click on Scatter and then select Scatter With Smooth Lines and Markers.

linear Scatter chart

If we look at the below chart of the above example, we can say the data set has a linear relationship and known as linear interpolation.

Time taken 1

Examples of Linear Interpolation in  Excel

Let’s understand the Linear Interpolation in Excel with some examples.

You can download this Linear Interpolation Excel Template here – Linear Interpolation Excel Template

Example #1

Suppose you have sales and profit data for previous years & want to know the current year’s profit if you achieve a certain level of sales.

Look at the below table. You have sales data from 2016 to 2018, and you want to know what should be the profit if your sales are Rs. 40,00,000 in 2019.

forecast linear interpolation example 1-1

So with the help of the Forecast function, we can interpolate the profit of 2019 when sales are Rs. 4,000,000

The formula in cell C5 will be as below:

=FORECAST (B5, C2:C4, B2:B4)

forecast linear interpolation example 1-2

After using the Forecast formula, the answer is shown below.

forecast linear interpolation example 1-3

The result for the Forecast function will be Rs. 875,000 based on the sales & profit data available from 2016 to 2018.

sales and profit

In this example Forecast function interpolate the value based on all data available and not just starting and Endpoint. As you can see in the charts, profit is moving is exactly the same as sales. Even if we calculate the value manually, it will still give us the same result.

Example #2

We have data of the last 9 matches of the cricket team, which has wickets gone and runs scored by the team.

We want to find out how many runs they will team scores if 8 wickets fall.

wickets and runs

So we will again use the same Forecast Function as above.

wicket and runs 1

After applying the formula, we get the result of 302 Runs if we 8 wickets fall on the basis of a linear regression of the last 9 matches played by the team.

wickets and runs 2

In this example, data was not linear, and you can see that in the below graph. But still, the Forecast function helped us to interpolate the runs with the help of data of previous matches.

Match Scores

Things to Remember About Linear Interpolation in Excel

  • The forecast function is used to forecast/estimate the value based on the existing available values, but it can also help to interpolate the missing value.
  • If data is not linear, the Forecast function will not give you the accurate value based on linear interpolation, but it will give you the nearest value.
  • If x in the Forecast function is text or non-numeric, the Forecast function returns the #VALUE error.
  • If Known_x’s and Known_y’s does not contain any data or contains a different set of data points, Forecast Function will give a #N/A error.
  • If the variance of Known_x’s is zero, then the Forecast function gives the #DIV/O error.

Recommended Articles

This is a guide to Linear Interpolation in Excel. Here we discuss How to Use Linear Interpolation in Excel along with practical examples and a downloadable excel template. You can also go through our other suggested articles –

  1. Linear Regression in Excel
  2. Linear Programming in Excel
  3. Statistics in Excel
  4. Interpolate in Excel
Popular Course in this category
Excel Training (23 Courses, 9+ Projects)
  23 Online Courses |  9 Hands-on Projects |  110+ Hours |  Verifiable Certificate of Completion
4.9
Price

View Course

Related Courses

Excel Data Analysis Training (17 Courses, 8+ Projects)4.9
Excel for Finance Training (18 Courses, 7+ Projects)4.8
Primary Sidebar
Footer
About Us
  • Blog
  • Who is EDUCBA?
  • Sign Up
  • Live Classes
  • Corporate Training
  • Certificate from Top Institutions
  • Contact Us
  • Verifiable Certificate
  • Reviews
  • Terms and Conditions
  • Privacy Policy
  •  
Apps
  • iPhone & iPad
  • Android
Resources
  • Free Courses
  • Excel Charts
  • Excel Tips
  • All Tutorials
Certification Courses
  • All Courses
  • Excel VBA Course - All in One Bundle
  • VBA Course
  • Excel Data Analysis Course
  • Excel for Marketing Course
  • Excel for Finance Course
  • Excel for HR Training

ISO 10004:2018 & ISO 9001:2015 Certified

© 2023 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

Let’s Get Started

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

Download Linear Interpolation Excel Template

EDUCBA Login

Forgot Password?

By signing up, you agree to our Terms of Use and Privacy Policy.

EDUCBA

Download Linear Interpolation Excel Template

EDUCBA

डाउनलोड Linear Interpolation Excel Template

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our Privacy Policy

Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more