Back to Google Sheets

Connect Knoon AI with Google Sheets (Google) to automate AI workflows.

Find all cells in a sheet that match the given search criteria such as EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH.
googleSheetsFindCells
BETA
Permissions
  • https://www.googleapis.com/auth/drive.file
Optional permissions
  • https://www.googleapis.com/auth/drive
Parameters
NameTypeDescriptionRequired
spreadsheetIdfile Select the Google Sheets file to search.Yes
sheetNamemustache Name of the sheet (tab) to search in (e.g. "Sheet1").Yes
rangemustache Optional A1 range (e.g. "A1:D100") to limit the search area. If omitted, the entire sheet is scanned.No
searchTextmustache The text to search for inside the cells.Yes
matchTypestring How to compare the text: EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH.Yes
caseSensitiveboolean Whether the match should be case-sensitive. Default is false.No
Returns
NameTypeDescription
statusstring DONE.
foundboolean Whether at least one matching cell was found.
countnumber Total number of matching cells found.
cells.valuestring The matched cell value, or empty string if none found.
cells.sensitive.rowIndexnumber 1-based row index of the matched cell, or null if none found.
cells.sensitive.columnIndexnumber 1-based column index of the matched cell, or null if none found.
cells.sensitive.columnLetterstring Column in letter form (e.g. "A", "B", "AA") for the matched cell, or null if none found.
cells.sensitive.a1Notationstring Cell location in A1 notation (e.g. "B2"), or empty string if none found.