Excel LN Function: Excel LN function is designed to calculate the natural logarithm of a number and gives the corresponding numeric value as an output. The Natural logarithms are usually based on the constant e (2.71828182845904 is a value of e). We all know that Excel provides various formulas and functions to perform mathematical operations.
Let’s see the usage of the Excel LN Function with its syntax, description, and examples. Get an official version of MS Excel from the following link:
Description of LN Function
- This function returns the natural logarithm of a number.
- The natural logarithm is based on the constant “e” (2.71828182845904).
- For example, LN(56) returns the natural logarithm number 4.025352.
- Here, you will see the syntax of the LN function.
- To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
- Once you enter the formula, just click on the Enter button to get the result.
- Number – The input number to which you want the natural logarithm value.
1) LN Function is the inverse of the EXP (exponential) function.
2) If you give non-numeric values such as letters and special characters to the argument, it will return #VALUE! Error.
3) If the argument is a negative number, it shows #NUM! Error.
Here, we come up with some examples to know how to use the LN function in the Excel spreadsheet.
- Initially, you have to open your Excel workbook on your PC and launch a worksheet that has data.
- For instance, we have given a range of values in Column B and we will get the natural logarithm of these numbers using the LN function.
- Then, you have to enter the formula in the cell as shown below to get the result.
- After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.
Input that Causes Error
- If the argument is a negative number, it shows #NUM! Error.
- If you use any non-numeric value (letters and symbols) as the input number, it returns #VALUE! Error.
In this article, you can understand the usage of the Excel LN Function with its syntax, description, and examples. Leave your suggestions in the comment section. To learn more about Excel functions, then visit our webpage Aawexcel.com.
The following video will show you how to use the Excel LN function in the worksheet.
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?
Hi there, I’m Sridhar – an Excel enthusiast with over 10 years of experience working with software. I’m passionate about using Excel to solve complex problems and streamline business processes. Over the years, I have helped businesses of all sizes to improve their operations and save time and money.
Aside from working with Excel, I also enjoy writing and sharing my knowledge with others. You’ll often find me contributing to the AAW Excel blog, where I provide tips, tricks, and tutorials that are easy to understand for readers of all skill levels.