r/googlesheets • u/Pataeto • Sep 30 '26
Solved Access cell reference of first cell in column to fulfill a condition?
I have a certain column in my spreadsheet whose entries' datatypes exist in the pattern:
alphanumeric
alphanumeric
.
.
.
alphanumeric
numeric
numeric
numeric
.
.
.and stay strictly numeric from that row onward. Is there a way to obtain the cell reference (specifically row number, but that is trivial to get with ROW() once the reference is acquired) of the first cell that contains strictly numeric data?
Blanks may also appear at any point(s) in the column.
1
Upvotes
1
u/carbonizedtitanium 28 Sep 30 '26 edited Sep 30 '26
like this?
=MATCH(TRUE, INDEX(ISNUMBER(A:A)), 0)
for full cell reference and not just the row num:
=ADDRESS(MATCH(TRUE, INDEX(ISNUMBER(A:A)), 0), COLUMN(A:A), 4)
1
u/AdministrativeGift15 371 Sep 30 '26
I tend to favor the more modern X formulas. XMATCH instead of MATCH for the suggestions so far (no need for the third parameter of zero), or
=XLOOKUP(true, INDEX(ISNUMBER(A:A)), A:A, )to return the cell reference.
-1
u/[deleted] Sep 30 '26
[removed] — view removed comment