The TASK_ROW_UPDATE function updates only the current row in your active Google Sheet. It lets you describe the changes you want using natural language, and a language model processes your instructions along with the rowโs data to make the modifications automatically.
=TASK_ROW_UPDATE(prompt, [model])
Parameter | Data Type | Required | Description |
---|---|---|---|
prompt |
|
Required | A clear instruction describing how to update the current row. For example,
|
model |
|
Optional | The language model identifier in the format
|
If you have a specific language model in mind, you can pass its identifier as the second parameter. For example:
=TASK_ROW_UPDATE("Capitalize all text in this row and update the Date column to today.", "Gemini/gemini-1.5-pro")
To update a row so that its "Status" cell becomes โCompletedโ, enter this formula in any cell of that row:
=TASK_ROW_UPDATE("Change the Status column to Completed")
Update the row by capitalizing all text and updating the date with a specific model:
=TASK_ROW_UPDATE("Capitalize all text in this row and update the Date column to today.", "Gemini/gemini-1.5-pro")
To transform the first name format and adjust the Total column value, use:
=TASK_ROW_UPDATE("Transform the first name to start with a capital letter and change the Total column by adding 5 to its value.")
Ensure that your function includes a text prompt enclosed within the quotation marks.
Verify that you are using TASK_ROW_UPDATE and that your parameters are correctly formatted.
Check that your instructions reference the correct column names and that your active row is as intended. Also, ensure there are no extra spaces or typos in your prompt.
If the model does not produce the expected changes, try using the default model by leaving the second parameter blank or specify another model identifier.
No. You only need to provide a simple instruction; the add-on handles all JSON conversion and behindโtheโscenes processing automatically.
Place the formula in any cell in the row you wish to update. The function automatically identifies the current row based on its location.
Yes. Your prompt can include instructions to modify several columns. For example, โset the Status column to Completed and update the Amount column to its current value multiplied by 1.1.โ
TASK_ROW_UPDATE is designed for quick, in-row updates using natural language. For more complex modifications, consider using other functions like TASK_SHEET_UPDATE.
The model parameter is optional. Leave it blank to use your default language model, or specify a valid identifier in the format
"provider/model_name"
"Gemini/gemini-1.5-pro"
1 month ago