can excel find the last used line in a column and display it?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

With a column of data I want to automatically select the last line and
display it in another cell, possible?
 
Paul,

This won't select it, only a macro could do that, but this formula will
display the last cell. There can be no empty cells along the way.

=OFFSET(A1,COUNTA(A:A)-1,0,1,1)
 
Paul

To display the last numeric in a column........

=LOOKUP(9.99999999999999E+307,A:A)

To display the last text entry in a column..........

=LOOKUP(REPT("z",255),A:A)

Both will ignore blank cells.


Gord Dibben Excel MVP


On Mon, 14 Mar 2005 20:01:02 -0800, "Paul - South Australia" <Paul - South
 

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

Back
Top