Skip to content

Google Sheets — Find cell

Type: googlesheets-find-cell  ·  Package: Google Sheets Activities v1.0.0  ·  Output: Dictionary

Searches for a value in the sheet and returns the location of the first matching cell. It’s the Google Sheets “Search” from the bot.

It scans the sheet (or the given range) looking for value based on the match-type, and returns the first match, or null if it doesn’t find it. The comparison is case insensitive.

ParameterEditorDescription
valueexpressionValue to look for.
ParameterEditorDescription
sessionsessionGoogle Sheets — Open session. Optional: within a body it is inherited.
sheetexpressionSheet where to search.
rangeexpressionLimit to a range. By default, the entire sheet.
match-typelistComparison: exact (def.) · contains · starts-with.

Returns a Dictionary with address, row, column, value, or null if there is no match.

Google Sheets — Find cell session = = hoja value = "Total" → output: celda
If condition = = !isNull(celda)
└─ then:
Log message = = "Encontrada en " + celda["address"]
  • Find row — find an entire row by a column.
  • Read cell — read a cell at known position.