tech on the net

MS Excel: LN Function (WS)

Learn how to use the Excel LN function with syntax and examples.

Description

The Microsoft Excel LN function returns the natural logarithm of a number.

Syntax

The syntax for the Microsoft Excel LN function is:

LN( number )

Parameters or Arguments

number is a numeric value that must be greater than 0.

Applies To

The LN function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The LN function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel LN function examples and explore how you would use the LN function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the spreadsheet above, the following Excel LN examples would return:

=LN(A1) would return 2.995732274
=LN(A2) would return 3.218875825
=LN(A3) would return 4.605170186
=LN(200) would return 5.298317367