Find in sheet
Search the used cells of a sheet, or a range, for text and return the addresses of the matching cells.
Command in the Microsoft 365 toolkit · id ooa.microsoft365/excel_find · 10 inputs (1 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | No | Microsoft Graph access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Remote path | String | No | Workbook path in the drive (e.g. Finance/budget.xlsx), or id:{item-id}. | |
| Sheet | String | No | Worksheet name. | |
| Text | String | Yes | Text to look for in the displayed cell text. | |
| Range | String | No | Range to search; the used cells when empty. | |
| Match case | Boolean | No | false | Upper and lower case must match. |
| Whole cell | Boolean | No | false | The whole cell must equal the text. |
| Drive | String | No | me/drive | Whose files: me/drive (your OneDrive), a person (ann@acme.com), a SharePoint site (contoso.sharepoint.com:/sites/Finance), a library of a site by name (contoso.sharepoint.com:/sites/Finance:/Invoices), or sites/{site-id}/drive or drives/{drive-id}. With an app sign-in, name a person or site. |
| Endpoint address | String | No | https://graph.microsoft.com/v1.0 | Graph endpoint; change only for national clouds or testing. |
| Search by | String | No | rows | Order of the results: rows goes across each row first, columns goes down each column first. |
Outputs
| Output | Type | What it is |
|---|---|---|
| cells | List | Addresses of the matches, e.g. B7, in search order. |
| count | Number | Number of matches. |