Skip to main content
Version: Streamsheets 3.0

GOOGLE.SHEETS.ROW.INSERT

Premium
Experimental

Insert or append rows to a sheet.

Syntax

=GOOGLE.SHEETS.ROW.INSERT(Spreadsheet-Id, Sheet-Id or Sheet-Name, Cell Range, [Row Index])

Arguments

NameTypeDescription
Spreadsheet-IdTextThe id of the spreadsheet to change.
Sheet-Id or Sheet-NameNumber,TextID or name of the sheet to add rows to.
Cell RangeRangeA cell range which contains the values of the rows to insert.
Row Index (optional)NumberIndex to insert rows at. If not specified new rows will be appended.

Return

TypeDescription
BooleanTRUE if insert was successful.

Examples

FormulaResultComment
=GOOGLE.SHEETS.ROW.INSERT2(B2, "S2", 5, D2:F5)
TRUEInserts values from range D2:F5 to rows starting at 5 in sheet S2 of spreadsheet with ID given in B2.