How to Calculate Logarithmic Interpolation in Excel (2 Easy Ways)

Interpolation is the process of determining the value of an unknown point that lies between two known data points. While calculating linear interpolation is an easy task in Excel, non-linear datasets can be significantly more challenging. We can use logarithmic graphs to convert a non-linear equation into a linear one, making it suitable to interpolate unknown values.

In this article, we will demonstrate two easy methods to calculate logarithmic interpolation in Excel effectively. We will use the following dataset to illustrate our methods:

logarithmic interpolation excel


Method 1 – Using a Mathematical Formula

Steps:

Let’s assume Depth of Flow = X and Discharge = Y.

  • Insert two columns named LogX and LogY.
  • In cell D5 enter the following formula:
=LOG10(B5)

Use Mathematical Formula to Calculate Logarithmic Interpolation in Excel

  • In cell E5 enter the following formula:
=LOG10(C5)

  • Autofill the formula to the rest of columns D and E.

Use Mathematical Formula to Calculate Logarithmic Interpolation in Excel

Now, we want to calculate the value of Discharge for a 0.175m Depth of Flow.

  • In cell D12 enter the following formula to determine LogX for 0.175m Depth of Flow:
=LOG10(B12)

  • In cell E12 enter the formula below and press Enter:
=E7+((E8-E7)/(D8-D7))*(D12-D7)

Use Mathematical Formula to Calculate Logarithmic Interpolation in Excel

  • In cell C12 enter the following formula:
=10^E12

Where E12 is the value of LogY.

  • Press Enter to get the interpolated Discharge value for 0.175m Depth of Flow.logarithmic interpolation excel

Method 2 – Using the FORECAST Function

We can also use the FORECAST function to determine logarithmic interpolation in Excel.

Steps:

  • Follow the same steps as the first method up to calculating LogX for a 0.175m Depth of Flow.
  • In cell E12 enter the following formula:
=FORECAST(D12,E5:E9,D5:D9)

  • In cell C12 enter the following formula:
=10^E12
  • Press Enter to get the desired Discharge value for 0.175m Depth of Flow.

Utilize FORECAST Function to Calculate Logarithmic Interpolation in Excel

Notes
  • These two methods give accurate results if the LogY vs LogX graph is linear.
  • Don’t forget to provide proper cell references or you won’t get the desired result.

Download Practice Workbook


Related Articles


<< Go Back to Excel Interpolation | Excel for Statistics | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Alif Bin Hussain
Alif Bin Hussain

Alif Bin Hussain earned a BSc in Civil Engineering from Bangladesh University of Engineering and Technology. As an engineering graduate, he has a deep passion for research and innovation. He loves to play with Excel. In his role as an Excel & VBA Content Developer at ExcelDemy, he not only solves tricky problems but also shows enthusiasm and expertise in handling tough situations with finesse, emphasizing his dedication to delivering top-notch content. He is interested in C, C++,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo