App Logo
docs.google.com

Sheets: clear range

Clear the values of an A1 range in one tab of a Google Spreadsheet (values only, formatting stays). Returns range and cleared. Clearing an already-empty range is a safe no-op; needs edit rights.

Input

range required

A1 range accepted by the name box: "B2:D10", "C3", "A:C", "2:5", or a named range

spreadsheetId required

Spreadsheet id or any full docs.google.com spreadsheet URL

gid optional

Tab gid (from sheets_list_tabs). Default 0.

Default: 0

Output

range required
cleared required

FAQ

Clear the values of an A1 range in one tab of a Google Spreadsheet (values only, formatting stays). Returns range and cleared. Clearing an already-empty range is a safe no-op; needs edit rights.
Required: spreadsheetId, range. Optional: gid.
It returns range, cleared.
Yes. It acts as you on docs.google.com: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the docs.google.com cookies saved by the Reduck extension.
It makes changes on docs.google.com, like sending, posting or booking something.
Ask an AI agent connected to Reduck to run reduck/docs.google.com/sheets_clear_range, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/docs.google.com/sheets_clear_range
It is part of Reduck's official curated catalogue.

Start building not clicking