Skip to main content
Version: Streamsheets 3.0

GOOGLE.SHEETS.COLUMN.DELETE

Premium
Experimental

Delete columns from a sheet.

Syntax

=GOOGLE.SHEETS.COLUMN.DELETE(Spreadsheet-Id, Sheet-Id or Sheet-Name, Start Column, [End Column])

Arguments

NameTypeDescription
Spreadsheet-IdTextThe id of the spreadsheet to delete columns from.
Sheet-Id or Sheet-NameNumber,TextID or name of the sheet to delete columns from.
Start ColumnTextColumn to start deletion at.
End Column (optional)TextLast column to delete. If not specified all remaining columns, after start column, are deleted.

Return

TypeDescription
BooleanTRUE if delete was successful.

Examples

FormulaResultComment
=GOOGLE.SHEETS.COLUMN.DELETE(B2, "S2", "D","E")
TRUEDeletes columns D and E in sheet S2 of spreadsheet with ID given in B2.