Cell number replacement

  • Thread starter Thread starter red
  • Start date Start date
R

red

I need to put a formla into a cell so that it chooses the last entry in a
column. I have doe this once before but can't remember whats required.
I need to say =A? where ? is "count A3:A300" so the answer in the formula
point to ,say, A25 if thats the last entry in the column.
 
Hi,

If its a numeric value try this

=LOOKUP(10^23,A1:A300)

or if it could be text
=INDIRECT("A"&SUMPRODUCT(MAX((ROW(A1:A300))*(A1:A300<>""))))

Mike
 
Thanks Mike, both worked a treat!

Mike H said:
Hi,

If its a numeric value try this

=LOOKUP(10^23,A1:A300)

or if it could be text
=INDIRECT("A"&SUMPRODUCT(MAX((ROW(A1:A300))*(A1:A300<>""))))

Mike
 

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