{"id":16118,"date":"2023-07-27T09:33:24","date_gmt":"2023-07-27T09:33:24","guid":{"rendered":"https:\/\/officetuts.net\/excel\/?p=16118"},"modified":"2024-02-19T14:52:07","modified_gmt":"2024-02-19T14:52:07","slug":"linear-interpolation-in-excel","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/","title":{"rendered":"Linear Interpolation in Excel"},"content":{"rendered":"\n
Linear-Interpolation-in-Excel<\/a>Download File<\/a><\/div>\n\n\n\n

If we talk about linear interpolation<\/strong> in Excel, we first need to understand what this term is. Linear interpolation <\/strong>is a method from mathematics that serves us to estimate values between two data points<\/strong>, if the data points are familiar.<\/p>\n\n\n\n

In Excel, we can use linear interpolation with functions and formulas. In the example below, we will show how to do it.<\/p>\n\n\n\n

Linear Interpolation in Excel<\/h2>\n\n\n\n

For our example, we will have two data points: (xy, y1) and (x2,y2).<\/strong> Our job will be to find the y-value<\/strong> corresponding to a certain x-value<\/strong>, that is located between x1 and x2<\/strong>.<\/p>\n\n\n\n

To explain better, we will have the following table:<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

By looking at the table below, we could assume that following the logic of linear interpolation, the y2 number, located in cell A5 will be 20<\/strong> since the progression of x is 2<\/strong>, and the progression of y is 10<\/strong>. To confirm this by formula, and generally to find the way to calculate it automatically, we will use the following formula in cell B5<\/strong>:<\/p>\n\n\n\n

=FORECAST(A5, B2:B3, A2:A3)<\/code><\/pre>\n\n\n\n

FORECAST formula has three parameters: x, known_ys, and known_xs<\/strong><\/p>\n\n\n\n

In our case, x is number 4, known_ys are 10 and 30, and known_xs are numbers 2 and 6<\/strong>.<\/p>\n\n\n\n

This is the result we will end up with:<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Instead of the FORECAST formula<\/strong>, we could also use INTERCEPT<\/strong>. Our formula in cell B6<\/strong> will be:<\/p>\n\n\n\n

=(A5-A2)*(B3-B2)\/(A3-A2)+B2<\/code><\/pre>\n\n\n\n

To break down this formula:<\/p>\n\n\n\n

    \n
  • A5-A2 calculates<\/strong> the difference between the desired x-value and the lower known x-value.<\/li>\n\n\n\n
  • B3-B2 calculates<\/strong> the difference between the upper known y-value and the lower known y-value.<\/li>\n\n\n\n
  • A3-A2 calculates<\/strong> the difference between the upper known x-value and the lower known x-value.<\/li>\n<\/ul>\n\n\n\n

    This formula then multiplies the first two differences<\/strong> that we have and divides this result by the third difference<\/strong> in order to find the slope of the line connecting our two data points.<\/p>\n\n\n\n

    In the end, the formula adds the result to the lower known y-value<\/strong> to find the interpolated y-value<\/strong> for the given x-value<\/strong>.<\/p>\n\n\n\n

    We will get the same result<\/strong> using this formula, as we did with FORECAST<\/strong>:<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n

    Just remember- linear interpolation demands a straight-line relationship<\/strong> between the data points. If the data points are not linear, then we should use other interpolation methods.<\/p>\n","protected":false},"excerpt":{"rendered":"

    If we talk about linear interpolation in Excel, we first need to understand what this term is. Linear interpolation is a method from…<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[170],"yoast_head":"\nLinear Interpolation in Excel<\/title>\n<meta name=\"description\" content=\"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linear Interpolation in Excel\" \/>\n<meta property=\"og:description\" content=\"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-07-27T09:33:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-19T14:52:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png\" \/>\n<meta name=\"author\" content=\"Harun Spahic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Harun Spahic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\"},\"author\":{\"name\":\"Harun Spahic\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\"},\"headline\":\"Linear Interpolation in Excel\",\"datePublished\":\"2023-07-27T09:33:24+00:00\",\"dateModified\":\"2024-02-19T14:52:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\"},\"wordCount\":374,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png\",\"keywords\":[\"file\"],\"articleSection\":[\"formulas\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\",\"url\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\",\"name\":\"Linear Interpolation in Excel\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png\",\"datePublished\":\"2023-07-27T09:33:24+00:00\",\"dateModified\":\"2024-02-19T14:52:07+00:00\",\"description\":\"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png\",\"width\":194,\"height\":146},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linear Interpolation in Excel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\",\"name\":\"Harun Spahic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"caption\":\"Harun Spahic\"},\"sameAs\":[\"http:\/\/human.bsru.ac.th\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linear Interpolation in Excel","description":"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/","og_locale":"en_US","og_type":"article","og_title":"Linear Interpolation in Excel","og_description":"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.","og_url":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/","article_published_time":"2023-07-27T09:33:24+00:00","article_modified_time":"2024-02-19T14:52:07+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png"}],"author":"Harun Spahic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Harun Spahic","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/"},"author":{"name":"Harun Spahic","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2"},"headline":"Linear Interpolation in Excel","datePublished":"2023-07-27T09:33:24+00:00","dateModified":"2024-02-19T14:52:07+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/"},"wordCount":374,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png","keywords":["file"],"articleSection":["formulas"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/","url":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/","name":"Linear Interpolation in Excel","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png","datePublished":"2023-07-27T09:33:24+00:00","dateModified":"2024-02-19T14:52:07+00:00","description":"Download the Linear-Interpolation-in-Excel file to understand how to estimate values between data points using linear interpolation in Excel.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/07\/word-image-16118-1.png","width":194,"height":146},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/formulas\/linear-interpolation-in-excel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Linear Interpolation in Excel"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."},{"@type":"Person","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2","name":"Harun Spahic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","caption":"Harun Spahic"},"sameAs":["http:\/\/human.bsru.ac.th\/"]}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16118"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=16118"}],"version-history":[{"count":1,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16118\/revisions"}],"predecessor-version":[{"id":16123,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16118\/revisions\/16123"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=16118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=16118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=16118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}