# Find rows in a spreadsheet and update them

Your agent finds the rows you describe in a sheet you already keep, changes the cells you name, and shows you what changed. DataToRAG gives an agent such as Claude, ChatGPT, or Cursor your Google Sheets through one connection, so the agent does this from a single request.

Updated: 2026-11-25  
Source: https://datatorag.com/use-cases/find-rows-in-a-spreadsheet-and-update-them

## What to ask

> In my Orders sheet, mark every order from last week that has shipped as Done.

## What the agent does

1. Find last week's orders that have a ship date (`gws-mcp__sheets_find_rows`)
2. Set the Status cell of each row to Done (`gws-mcp__sheets_update`)
3. Read the rows back to confirm the change (`gws-mcp__sheets_read`)

## What comes back

Done. Three rows changed, and nothing else in the sheet was touched.

| Order | Shipped | Status |
| --- | --- | --- |
| 1042 | Nov 18 | Done |
| 1047 | Nov 19 | Done |
| 1051 | Nov 21 | Done |

Sample content. Yours comes from your own accounts.

## The tools it uses

- [Google Sheets docs](https://datatorag.com/docs/sheets.md)
