Skip to main content
appendValues uses an A1 range to detect a logical table and appends after its last data row or column.

Example

Inputs

spreadsheet, detection range, and non-empty values matrix are required. majorDimension defaults to rows; inputMode defaults to userEntered. insertMode defaults to insertRows; overwrite can write over cells after the detected table. includeValues defaults false; response render modes match Write values. account optionally selects the Google account binding.

Output

Returns spreadsheetId, optional pre-append tableRange, updatedRange, updated counts, and optional returned values. The detection range identifies a logical table; it is not necessarily the exact appended range.