Last Row used in calculation

J

JefKel

I have a column with 15 rows. Data is entered down the list - using A1
through A15. Not all rows are used, and the final row entry varies each
time. At A16, a Formula is used to take the last entered row and enter it
into A16.
I've used the IF(ISBLANK(A15),IF(ISBLANK(A14), ... ,A14),A15) - but that is
limited to seven IF statements in a Formula. I've tried the LOOKUP function,
but can't seem to apply it with an ISBLANK series - fifteen times.
 
B

Bob Phillips

=LOOKUP(2,1/(A1:A100<>""),A1:A100)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
J

Jarek Kujawa

try:

=INDIRECT("A"&MAX(IF(LEN($A$1:$A$15)>0,ROW($A$1:$A$15),)))

array-enter it i.e. with CTRL+SHIFT+ENTER
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top