> For the complete documentation index, see [llms.txt](https://docs.browserflow.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.browserflow.app/reference/browserflow-commands/spreadsheet/loop-spreadsheet-rows.md).

# Loop Spreadsheet Rows

Runs commands for each row of a spreadsheet

#### Sheet

* Sheet to read

#### **Variables to assign row values**

* Variables to store the values of the current row

#### Filter

* Conditions to limit the spreadsheet rows that are looped

#### Variable to assign row number

* Variable to store the current row number
  * Can be used for updating row values with [Update Spreadsheet Row](/reference/browserflow-commands/spreadsheet/update-spreadsheet-row.md)

#### Limit (optional)

* Number of spreadsheet rows to loop
