Forum Discussion
jsrmenke
Sep 08, 2025Copper Contributor
Excel help!
How would I capture the data from the last cell in a column when the column length is variable?
jsrmenke
Sep 08, 2025Copper Contributor
That worked great for finding the last value in a fixed length column but how do I do that if the column length varies based on other input. For instance, the last figure is in line 250 and based on other input new last line is now 200. How do I automatically capture that varying cell.
Harun24HR
Sep 09, 2025Bronze Contributor
If you are on Excel365 then could utilize trimrange feature or function. Try-
=TAKE(A.:.K,-1,-1)
Or
=TAKE(TRIMRANGE(A:K),-1,-1)
If there is chance to have blank cells on last column bottom rows then could try-
=TAKE(TOCOL(TAKE(A.:.K,,-1),1),-1)