Skip to main content

Set formula

Put a formula into one cell.

Command in the Google Workspace toolkit · id ooa.google/sheets_set_formula · 5 inputs (1 required), no outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialNoGoogle access token from the vault; the open spreadsheet session's when empty.
Spreadsheet IDStringNoSpreadsheet id, URL or Drive path; the open spreadsheet session's when empty.
CellStringNoCell such as Sheet1!B2 or B2; the session's current cell (Go to cell) when empty.
FormulaStringYesFormula; a leading = is added when missing.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.