Back to Microsoft Excel

Connect Knoon AI with Microsoft Excel (Microsoft) to automate AI workflows.

Find all cells in an Excel worksheet that match the given search criteria such as EQUALS, CONTAINS, STARTS_WITH, or ENDS_WITH.
microsoftExcelFindCells
BETA
Permissions
  • Files.ReadWrite
Optional permissions
  • Files.ReadWrite.All
  • Sites.ReadWrite.All
Parameters
NameTypeDescriptionRequired
workbookIdfile Select the Excel workbook to search.Yes
worksheetNamemustache Name of the worksheet (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 worksheet 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.