LOG Function
Return the logarithm of a number to a given base. number must be greater than 0, and base is 10 when omitted, so LOG(8,2) returns 3 and LOG(8) returns 0.903. A number of 0 or less returns #NUM!, and so does a base of 1, where Excel returns #DIV/0!.
Syntax
LOG(number, base)
Category: Math. Minimum arguments: 1. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=LOG(100,10)
The formula returns 2.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.