-
-
Save mareku/10307195a941137ed3d3 to your computer and use it in GitHub Desktop.
スプレッドシート関数使用例
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
■年間配当利回り % | |
=iferror(REGEXextract(REGEXreplace(index (importhtml(concatenate("https://www.google.com/finance?q=",$A3), "table", 2), 1, 2); "[()]"; "") ; "/([^/]*)"),"-") | |
■直近配当金額、配当利回り% を、2セルに分割して表示 | |
=split(ImportXML(concatenate("http://finance.google.com/finance?q=",A3), "//td[@data-snapfield='latest_dividend-dividend_yield']/following-sibling::*"),"/") | |
■過去5年の増配平均/年 (5-yr Dividend CAGR) | |
=index ( importhtml("http://www.gurufocus.com/dividend/"&A3&"", "table", 4), 2, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment