Skip to main content
Version: Streamsheets 3.0

GOOGLE.SHEETS.ROW.DELETE

Premium
Experimental

Delete rows from a sheet.

Syntax

=GOOGLE.SHEETS.ROW.DELETE(Spreadsheet-Id, Sheet-Id or Sheet-Name, Start Row Index, [End Row Index])

Arguments

NameTypeDescription
Spreadsheet-IdTextThe id of the spreadsheet to delete rows from.
Sheet-Id or Sheet-NameNumber,TextID or name of the sheet to delete rows from.
Start Row IndexNumberIndex of the first row to delete.
End Row Index (optional)NumberIndex of the last row to delete. If not specified all remaining rows, after start row, are deleted.

Return

TypeDescription
BooleanTRUE if delete was successful.

Examples

FormulaResultComment
=GOOGLE.SHEETS.ROW.DELETE(B2, "S2", 5, 7)
TRUEDeletes rows from 5 to 7 in sheet "S2" of spreadsheet with ID given in B2.