Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=LOOKUP(2,1/(A2:A6<>""),A2:A6)Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Yes — the <> "" test treats any non-blank cell (numbers, text, dates) as non-empty.
The lookup value 2 is larger than the maximum value in the array (1), so LOOKUP always lands on the last 1 — i.e. the last non-empty row.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: