Return last value in a range.

G

Guest

My range is from A1:A20. The range could have a possible
of 20 numbers, some number may be exactly the same.
Numbers will be entered starting at A1. I am trying to
return the last number in the range at cell A21.

The problem is that a the last number entered could be in
any cell within the range. How can I return the last value
in a range?

- JTJACKPOT
 
D

Dave R.

Try this

=INDEX(A1:A20,MAX(IF(A1:A20<>"",ROW(A1:A20))))

entered 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