- In your Google Sheet, select Extensions > Apps Script
- Replace all the code in the editor with the code in
dc_apps_script.js
. - No need to press "Deploy"! Just save the Apps Script by pressing Ctrl-s (or Cmd-s on mac)
- Back in your spreadsheet, you can now use the
SUPPLIER
command in formulae.
Formula:
SUPPLIER(name, [country])
Or, to split the supplier details into columns:
=SPLIT(SUPPLIER("Apple"), CHAR(9), true, false)
Columns:
- supplier name
- kg_co2eq
- direct / indirect
- scope 1 kg co2e emissions
- scope 2 kg co2e emissions
- scope 3 kg co2e emissions
- total kg co2e emissions
- revenue
- currency
- supplier carbon emissions source url
- supplier revene source URL
- year
- country