ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Natural Logarithm in Microsoft Query (https://www.excelbanter.com/excel-programming/347843-natural-logarithm-microsoft-query.html)

David W[_2_]

Natural Logarithm in Microsoft Query
 
I have created the following SQL statements in Microsoft Query (11.5510.6408)
when trying to summarize data to include in an Excel Pivottable:

SELECT
log(1+.05*`Curr SP500, 94-04`.RTN52)
FROM `C:\Documents and Settings\DPW\My Documents\ABV2\Curr SP500`\`Curr
SP500, 94-04.csv` `Curr SP500, 94-04`
WHERE (`Curr SP500, 94-04`.`DECILE RS52`=1)

When I try to execute the query, I get an error "Invalid Procedure Call",
which I am guessing is associated with the "log" function, since the error
disappears when I remove that statement.

Is "log" not supported in Query? Other possible error in the above SQL?

Thanks,



All times are GMT +1. The time now is 03:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com