GTU
Code: Select all
=importXml("http://www.gold-trust.com/asset_value.htm"; "//table/tr[9]/td[4]")
Code: Select all
=importXml("http://www.sprottphysicalgoldtrust.com/Net-Asset-Value/default.aspx"; "//div[@class='DiscountCalculationDiv']/span")
Moderator: Global Moderator
Code: Select all
=importXml("http://www.gold-trust.com/asset_value.htm"; "//table/tr[9]/td[4]")
Code: Select all
=importXml("http://www.sprottphysicalgoldtrust.com/Net-Asset-Value/default.aspx"; "//div[@class='DiscountCalculationDiv']/span")
Thanks for sharing, steve! Now I won't fall into reinventing the wheel.
That happens from time to time just check it later.brajalle wrote: GTU has issues on that sheet.
Note that it is possible to automate this, that is, have a spreadsheet automatically check several websites and pick the one that is working as a data source. For instance, in my PP tracking spreadsheet, I like to keep track of the current price I could get for my Gold Eagles. I get buy prices from several places, including ApMex (using the ImportHtml() spreadsheet command) and BullionDirect (same command). Let's assume I have the ApMex buy price in cell G1, and the BullionDirect buy price in cell G2. I can then pick whichever is working currently by doing the following:steve wrote:When I do it manually if one site is down I can get info from another.