I want to find the last number in a list which could be of different lengths. I know that there are the simple Lookup and VLookup formulas and these work with data that you input. Unfortunately, my data is created by formulas and Lookup and VLookup don’t work with generated lists. Formulas tried are, =LOOKUP(9e+10,A:A) =VLOOKUP(9e+10,A:A,1) My excel knowledge is limited and I am not into macros. Any help would be appreciated.
If I understand the question I would use INDIRECT/ADDRESS with an array formula
=INDIRECT(ADDRESS(MAX(IF($A1:$A999 > 0, ROW($A1:$A999), 0)),1,,,"Sheet1")) ... enter as array formula using Ctrl + Shift + Enter instead of just Enter
where Sheet1 is the worksheet name, 999 is the max row, and > 0 constitutes a number - amend as appropriate
If I understand the question I would use INDIRECT/ADDRESS with an array formula=INDIRECT(ADDRESS(MAX(IF($A1:$A999 > 0, ROW($A1:$A999), 0)),1,,,"Sheet1"))... enter as array formula using Ctrl + Shift + Enter instead of just Enterwhere Sheet1 is the wo