I have a large spreadsheet (57,000 rows of mostly text cells) and need to identify the first blank cell (or if easier, the last populated cell,) in each row, between columns A and X, and put that cell address in column AK.
I will then use formulas to retrieve certain data to the left of that blank cell and populate that data into addt'l columns. I would prefer a formula if possible to find the blank cell, rather than writing a macro.
I've tried several options without success - all return #N/A:
=CELL("Address",INDEX(A6:X6,MATCH(2,1/ISBLANK(A6:X6))))
=CELL("address",INDEX(A5:X5,MATCH(2,1/(A5:X5=""))))
<colgroup><col></colgroup><tbody>
</tbody>There's gotta be a way . . .
I will then use formulas to retrieve certain data to the left of that blank cell and populate that data into addt'l columns. I would prefer a formula if possible to find the blank cell, rather than writing a macro.
I've tried several options without success - all return #N/A:
=CELL("Address",INDEX(A6:X6,MATCH(2,1/ISBLANK(A6:X6))))
=CELL("address",INDEX(A5:X5,MATCH(2,1/(A5:X5=""))))
=INDEX($1:$1,MAX(IF($A4:$X4<>"",COLUMN($A4:$X4)))) |
(And yes, I used Crtl-Shift-Enter) |
<colgroup><col></colgroup><tbody>
</tbody>