This works with text also but with no blank cell in the column before last
item
=INDIRECT(ADDRESS(COUNTA(D1500),4)) for column D
=INDIRECT(ADDRESS(COUNTA(K1:K500),11)) for column K
Glad to hear it worked for you. The first number in the LOOKUP is just a
large number (larger than you expect in your data), so it can be any value,
which explains the variations in the other responses - I think 10E10 is easy
to type and remember.
Yes, make it 1:1 to look in row 1 (make sure your formula isn't in that
row).