Delete Cells
Description
Deletes one or more cells from a Google Sheet.
After the cells are deleted, surrounding cells are shifted to fill the resulting space based on the selected shift direction.
Common Capabilities
Process Data Support
This activity supports dynamic configuration using variables from the Process Data drawer.
You can bind values from Model Data, Form Data, System Data, Enterprise Variables, and Activity Outputs.
Learn more → Using Process Data
Design-Time Configuration
Display Text
A user-defined name for the activity, displayed on the workflow canvas to help identify its purpose.
Connection Name
The configured Google Sheets connection used to access Google Sheets resources.
Spreadsheet
The spreadsheet containing the cells to delete.
Sheet Name
The name of the sheet where the operation will be performed.
If not specified, the currently active sheet is used.
Selection Type
Determines whether a single cell or a range of cells will be deleted.
Cell Address
The address of the cell to delete.
Required when Selection Type is set to Single.
From
The starting cell address of the range to delete.
Required when Selection Type is set to Multiple.
To
The ending cell address of the range to delete.
Required when Selection Type is set to Multiple.
Shift
Determines how adjacent cells are shifted after the selected cells are deleted.
Examples include:
- Shift Up
- Shift Left
For details about selecting spreadsheets, sheets, cells, and ranges, see Google Sheets Data Selection.
Wait All Incoming
Controls how this activity behaves when multiple incoming execution paths converge.
Determines whether the activity executes when:
- Any incoming path completes, or
- All relevant incoming paths complete before execution
Learn more → Execution Control
On Error
Defines how the workflow behaves if this activity encounters a runtime error.
Supported strategies include:
- Fault
- Continue
- Suspend
- Retry
Output
Result
A Boolean value indicating whether the delete operation completed successfully.
| Value | Meaning |
|---|---|
| True | The specified cells were successfully deleted. |
| False | The delete operation was unsuccessful. |
Remarks
- The authenticated Google account must have permission to modify the spreadsheet.
- Deleting cells does not delete the entire row or column unless the selected range covers those cells and the chosen shift operation causes surrounding cells to move.
- Existing formulas and references within the spreadsheet may be affected by the deletion.
- The shift operation determines how adjacent cells are repositioned after deletion.