Identifying bottom of list

  • Thread starter Thread starter T De Villiers
  • Start date Start date
T

T De Villiers

Hi, Thanks to an earlier thread I have the folowing:

=countif(a1:a100,"")

but I need to vary the formula with the no of rows per data.

so if Row 123 is last row

I have = countif(a1:a123,"")

Maybe I can incorporate

LastRow = Cells(Rows.Count,1).End(xlUp).Row into this
 
T De Villiers -

Use this formula to get the last row being used:
=MAX(IF(A1:A10000<>"",ROW(A1:A10000),""))

Also, this is an array formula so enter it using ctrl+shift+enter.

Hope that helps.
 

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