GSheets Operator > Google Sheets Sheet Tab Data > Get Column Count

Get Column Count

Returns the number of columns represented in this range.
Only includes up to the last column with data. Blank columns in between data columns will be counted. Columns after the last column with data are not counted.
This method assumes your major dimension is ROWS, meaning we read rows first before reading columns.

Inputs

Target
Google Sheets Sheet Tab Data Object Reference

Outputs

Return Value
Integer

Returns the number of columns represented in this range.
Only includes up to the last column with data. Blank columns in between data columns will be counted. Columns after the last column with data are not counted.
This method assumes your major dimension is ROWS, meaning we read rows first before reading columns.