Find
Find cells whose content contains (or equals) a text, in the whole sheet or a range; returns their addresses in search order.
Command in the Excel toolkit · id ooa.excel/find · 10 inputs (1 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Text to look for. | |
| Match case | Boolean | No | false | Match upper/lower case exactly. |
| Sheet | String | No | Sheet name; active sheet when empty. | |
| Session | String | No | excel | Workbook session. |
| Range | String | No | Only search this range, e.g. A1:D20; the whole sheet when empty. | |
| Whole cell | Boolean | No | false | Only match when the whole cell content equals the text. |
| Look in | String | No | values | values searches the calculated results; formulas searches the formula text of formula cells and the value of the others. |
| Search by | String | No | rows | Order of the results: rows goes across each row first, columns goes down each column first. |
| Start from | String | No | top | G3 (AA parity): where the search starts: the top of the sheet, the active cell, a given cell (start_cell), or the end (searching backwards); it goes round to the start, as Excel does. |
| Start cell | String | No | The cell the search starts at. |
Outputs
| Output | Type | What it is |
|---|---|---|
| cells | List | Addresses such as B7. |
| first_cell | String | Address of the first match; empty when nothing matched. |
| count | Number | Number of matching cells. |