Skip to content

Find Excel Cell

Type: excel-find-cell  ·  Package: Excel Activities v1.0.0  ·  Output: Dictionary

Searches for a value in the sheet and returns the location of the first matching cell (address, row, and column). It is the equivalent of Excel’s “Search”. Useful for locating a header, finding where a particular piece of data is, or locating a row by its identifier before reading or writing around it.

It scans the sheet (or the given searchRange) looking for value based on matchType, and returns the first match as a dictionary with its position. If nothing is found, it returns null.

ParameterEditorDescription
valueexpressionThe value to look for.
ParameterEditorDescription
sessionexpressionExcel Open session (instead of path).
pathexpressionRoute to .xlsx (required if there is no session).
sheetexpressionName or index of the sheet. By default, the first.
matchTypelistForma de comparar: exact (def.) · contains · starts-with.
searchRangetextLimit the search to a range, e.g. "A1:Z100". By default, the entire sheet.

Returns a Dictionary with address, row, column, and value from the found cell, or null if there is no match.

Find Excel Cell path = = asset("datos.xlsx") value = "Total" → output: celda
If condition = = isNull(celda)
├─ then:
│ Log level = warning message = "No se encontró la celda 'Total'"
└─ else:
Log message = = "Encontrada en " + celda["address"] + " (fila " + celda["row"] + ")"