Skip to main content
Version: Streamsheets 3.0

GOOGLE.SHEETS.CELL.READ

Premium
Experimental

Read cells from a Google sheet.

Syntax

=GOOGLE.SHEETS.CELL.READ(Spreadsheet-Id, Sheet-Id or Sheet-Name, Cells, [ResponseTarget], [Render option])

Arguments

NameTypeDescription
Spreadsheet-IdTextThe id of the spreadsheet to read cells from.
Sheet-Id or Sheet-NameNumber,TextID or name of the sheet to read cells from.
CellsTextA string conforming to Google cells notation which specifies the cells to read.
ResponseTarget (optional)TargetSpecify inbox, outbox, cell or cell-range to write any response to.
Render option (optional)CellRenderOptionSpecifiy if formatted value should be returned or cell formula. Default is UNFORMATTED_VALUE.

Options:
"FORMATTED_VALUE": Returned cell value is formatted, e.g. as currency.
"UNFORMATTED_VALUE": Returned Cell value is not formatted.
"FORMULA": If cell is based on a formula this is returned instead of its value.

Return

TypeDescription
Boolean,JSONTRUE if read succeeded or response JSON if no target specified

Examples

FormulaResultComment
=GOOGLE.SHEETS.CELL.READ(B2, "S2", "A1:C3", D5:F7)
TRUEReads cells A1:C3 from sheet S2 of spreadsheet with the ID given in B2.