Selecting the last value of a column

cambraca picture cambraca · Nov 13, 2010 · Viewed 100.6k times · Source

I have a spreadsheet with some values in column G. Some cells are empty in between, and I need to get the last value from that column into another cell.

Something like:

=LAST(G2:G9999)

except that LAST isn't a function.

Answer

dohmoose picture dohmoose · Dec 14, 2012

Similar answer to caligari's answer, but we can tidy it up by just specifying the full column range:

=INDEX(G2:G, COUNT(G2:G))