Forum Discussion
Rudrabhadra
Oct 23, 2023Brass Contributor
Find the column and row number in an excel spread sheet based on criteria.
Hi Good day, I am looking for a way to find the address of a cell based on a criteria. I am having specific data placed randomly in sheet 1 of a workbook in different columns and rows. (like Apple,...
Patrick2788
Oct 23, 2023Silver Contributor
This is the idea:
matrix being the range where the term might be found.
=LET(
rows, ROWS(matrix),
cols, COLUMNS(matrix),
Locate, N(matrix = "Apple"),
r, SUM(Locate * SEQUENCE(rows)),
c, SUM(Locate * SEQUENCE(, cols)),
IFERROR(ADDRESS(r, c, 4), "Not found")
)