Returns the natural logarithm of a number.
Questa funzione funziona in Google Sheets esattamente come in Excel — stessa sintassi e stessi argomenti.
LN(number)The LN function calculates the logarithm of a number to the base e (the constant 2.71828182845904). It is the inverse function of the EXP function.
=LN(1)Risultato: 0
The natural logarithm of 1 is 0.
=LN(EXP(3))Risultato: 3
Since LN is the inverse of EXP, the result is the original exponent.
The function will return a #NUM! error because the natural logarithm is undefined for non-positive numbers.