LOG
The LOG function returns the logarithm of a number to a specified base.
Syntax
=LOG(number, [base])
Parameters
number
: The positive real number for which you want the logarithmbase
: Optional. The base of the logarithm (default is 10)
Examples
=LOG(100) // Returns 2 (log base 10 of 100)
=LOG(8, 2) // Returns 3 (log base 2 of 8)
=LOG(100, 10) // Returns 2 (same as LOG(100))