← Agent Data Hub · Google Sheets and Excel · Kits

Own formulas for Google Sheets: =ADH_LATEST("fx.EUR.USD")

Three formulas for any Google Sheet, from 55 lines of Apps Script you paste yourself. No add-on, no key, no sign-in, no permission screen: the script only reads public figures.

Eigene Formeln für Google Sheets. Ein kurzes Apps Script einfügen, dann gibt es =ADH_LATEST, =ADH_SERIES und =ADH_FIND. Kein Add-on, kein Schlüssel, keine Anmeldung, keine Freigabe.

Three steps · Drei Schritte

  1. In the sheet: Extensions → Apps Script. Erweiterungen → Apps Script.
  2. Replace the sample code with the code below (click into the box, Ctrl+A, Ctrl+C), then click Save. Den Beispielcode durch den Code unten ersetzen und speichern.
  3. Back in the sheet, type into a cell: =ADH_LATEST("fx.EUR.USD"). In eine Zelle schreiben; Tabelle auf Deutsch: Semikolon zwischen den Angaben.

The three formulas · Die drei Formeln

Google keeps a formula's result until its arguments change. For a value that must be today's, pass a cell as a second argument, =ADH_LATEST("fx.EUR.USD", B1), and change B1 (for example to today's date); or use a self-updating IMPORTDATA formula from /sheets. Google behält das Ergebnis, bis sich die Angaben ändern: eine Zelle als zweite Angabe nehmen und sie ändern, oder eine IMPORTDATA-Formel von /sheets.

Limits: Google allows a free account 20,000 web fetches a day (Workspace 100,000) and 30 seconds per formula; the script keeps each answer an hour, so a sheet with 100 formulas needs at most 100 fetches an hour. Series ids: /sheets lists 50, /api/v1/series?q=… finds more.

The code · Der Code

As a file: /sheets/adh.gs. The word src=script only counts how often the script is used; nothing about you is kept. Source and licence of each series: /api/v1/series/<id>.