I have used the following for years with Microsoft Excel to locate the last used cell in a vertical column: =LOOKUP(2,1/(B7:B1528<>""),B7:B1528) When I use LibreOffice CALC on those Excel files, the cell contains the following #DIV/0! I have a work around for CALC, however this requires me to modify all of the files that use the Excel method.
Please take a look to: https://forum.openoffice.org/en/forum/viewtopic.php?t=59647#p263997 something like: =SUMPRODUCT(MAX(ROW(B7:B1528)*NOT(ISBLANK(B7:B1528)))) or =MAX(ROW(B7:B1528)*NOT(ISBLANK(B7:B1528))) entered as array works for me, i guess also in excel. It's unsupported a way of use LOOKUP() in LibreOffice, not a bug.