LOG函数将数字的对数返回您指定的基数。
LOG (number, [base])
| Argument | 描述 | Required/Optional |
|---|---|---|
| Number | The positive real number for which you want the logarithm. | Required |
| Base | The base of the logarithm. If base is omitted, it is assumed to be 10. | Optional |
以给定底数为底的对数,是将底数提高为底数的幂
如果a x =b,则Ln a (b)= x
如果指定的数字或指定的基数为负或零,则LOG返回#NUM!错误。
如果指定的数字或指定的基数不是数字值,则LOG返回#VALUE!错误
如果指定的底数等于1,则LOG返回#DIV/0!错误。
Excel 2007,Excel 2010,Excel 2013,Excel 2016