LAST PIECE OF DATA

  • Thread starter Thread starter ftahbaz
  • Start date Start date
F

ftahbaz

How can I get a vlookup (or another function) to look for the DATA in
the last row in of a column.

For ex... have data in column A... rows 1-5 have data filled in.

How can I get it to tell me what is in A5?

And tomorrow when I fill in data in row 6, how can I get it to
automatically report that data?
 
just find a number or letter ("zzzzzz") larger possible
=INDEX(A:A,MATCH(9999999,A:A),1)
 
Several different formulas.

=LOOKUP(9.99999999999999E+307,F:F) will return last numeric data in column F

=LOOKUP(REPT("z",255),B2:B10000) will return last non-numeric data in column B

=LOOKUP(2,1/(A1:A65516<>""),A1:A65516) will return last anything in column A


Gord Dibben MS Excel MVP
 
Gord Dibben said:
=LOOKUP(2,1/(A1:A65516<>""),A1:A65516) will return last anything in
column A
Think that'll miss out what's possibly within A65517:A65535/6 <g>.
Perhaps either:
=LOOKUP(2,1/(A1:A65535<>""),A1:A65535)
=LOOKUP(2,1/(A2:A65536<>""),A2:A65536)

---
 
Thanks Max

'Nother one of those typos.


Gord

Think that'll miss out what's possibly within A65517:A65535/6 <g>.
Perhaps either:
=LOOKUP(2,1/(A1:A65535<>""),A1:A65535)
=LOOKUP(2,1/(A2:A65536<>""),A2:A65536)

Gord Dibben MS Excel MVP
 

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