Natural Log In Excel

  

  1. How To Take Natural Log In Excel
  2. Calculate Natural Log In Excel

LN Function in Excel calculates the natural logarithm of a given number.

The Natural Logarithm of a number, ( Ln(x) or Loge(x) ), is the logarithm to the base e.

The following step-by-step example shows how to perform logarithmic regression in Excel. Step 1: Create the Data. First, let’s create some fake data for two variables: x and y: Step 2: Take the Natural Log of the Predictor Variable. Next, we need to create a new column that represents the natural log of the predictor variable x. The Excel LN function returns the natural logarithm of a given number.

Syntax of Natural Logarithmic Function in Excel – LN()

LN(number)

Where Argument number is the positive real number that you want to calculate the natural logarithm of.

Example of Natural Logarithmic Function in Excel – LN()

Formula

e0 = 1, therefore LN(1)=0 so the result will be

Excel
Result

#NUM! Error occurs if the supplied number argument is negative or zero.

You probably already know how to do standard graphs in Excel. Sometimes, you'll need to take it up another level and do logarithmical or semi-logarithmical graphs.Properly made graphs can give a concise and compact form of representation, while graphs made poorly can be misleading and very confusing.

Why use logarithmical graphs?

If you find yourself with data spread on an extremely large area, the graph will be very compact and you may miss some sharp drops in values because of this.

A semi-logarithmical graph is has one of the two axes (usually the abscissa) in a logarithmical form. The logarithmical base is usually 10, but can also be “e” or any other base.

Well let's suppose you have the following table:

How To Take Natural Log In Excel

X12510205010020050010002000
Y12416256655364.29E+091.84E+193.4E+381.16E+771.3E+154

The corresponding Excel scatter chart is this:



On the other hand, if you extract the logarithm of both X and Y rows you get this table:

log_x00.30.711.31.722.32.733.3
log_y00.30.61.22.414.829.6319.2738.5377.06154.13


Natural Log In ExcelInverse of natural log in excelNatural

And its corresponding graph:


Does it make sense now? I thought so

How to obtain the logarithmic graph

Double click the axis that you want to be on a logarithmical scale. In the 'Scale' tab, select the 'Logarithmical Scale' option and click ok.

Calculate Natural Log In Excel


Then, go to the Chart Options (in the Chart menu) and in the 'Gridlines' tab check the 'Minor gridlines' on the axes you want depending of the desired graph type: semi-logarithmical or logarithmical.


Log