Quantcast
Channel: Getting the last non-empty cell in a row - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Jerry for Getting the last non-empty cell in a row

$
0
0

Okay, from what you've given if I understood correctly, you can use this formula in cell J1 and drag it down for the other rows below this cell:

=INDEX(A1:I1,1,COUNTA(A1:I1))

This assumes that the 'longest row' goes up to the column I.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>