GOOGLE WORKSPACE Insert columns function

The GOOGLE WORKSPACE Insert columns function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to insert columns into a Google Sheet.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Insert columns function inserts blank columns at a specified position in a Google Sheets spreadsheet. Existing columns are shifted right to make room.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Spreadsheet IDYesText-Google Sheets spreadsheet ID
Sheet IDYesText-Numeric sheet ID
Start indexYesNumber-Zero-based column index where new columns will be inserted
CountYesNumber1Number of columns to insert

Errors

  • Sheet not found – no sheet exists with the given ID
  • Invalid index – the start index is out of range

Tips

  • Column indices are zero-based (0 = column A, 1 = column B, etc.)
  • Inserted columns are blank – use Write sheet range to populate them

Related functions

  • Delete columns – Delete columns from the sheet
  • Insert rows – Insert blank rows

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.