LOG function in excel is used to calculate the logarithm of a given number but the catch is that the base for the number is to be provided by the user itself, it is an inbuilt function which can be accessed from the formula tab in excel and it takes two arguments one is for the number and another is for the base.
Syntax: =LOG( number, [base] )
The LOG function syntax has the following arguments:
- Number: The positive real number that you want to calculate the logarithm of.
Base: An optional argument that specifies the base to which the logarithm should be calculated.
If omitted, the [base] argument uses the default value 10 (i.e. the logarithm to the base 10 is calculated).
Example: Let’s look at some Excel LOG function examples and explore how to use the LOG function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following LOG examples would return:
Note: The LOG function allows you to get the logarithm of a number with a specified base.