The Logarithm of a number, to a given base, is the power to which the base must be raised to give that number.
The Excel LOG function calculates the logarithm of a given number, to a supplied base.
|number||-||The positive real number that you want to calculate the logarithm of.|
|[base]||-||[base] argument uses the default value 10 (i.e. the logarithm to the base 10 is calculated).If omitted, the|
The following spreadsheet shows four examples of the Excel Log function:
Note that, in cells A2 and A4 of the above spreadsheet, the [base] argument has not been supplied to the function and so, in these cases, base 10 is used.
For further examples of the Excel Log function, see the Microsoft Office website.
If you get an error from the Excel Log function, this is likely to be one of the following:
|#NUM!||-||Occurs if either the supplied number argument or the supplied [base] argument is negative or zero.|
|#DIV/0!||-||Occurs if the supplied [base] argument is equal to 1.|
|#VALUE!||-||Occurs if the supplied number argument or the supplied [base] argument is non-numeric.|