In Excel: select the last 20 rows of data in a column

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

Guest

How do I create a formula that will select the last 20 entries in a column of
a database?
 
This is the sort of thing

OFFSET($A$1,COUNTA(A:A)-20,0,20,1)

which can be used like so

=SUM(OFFSET($A$1,COUNTA(A:A)-20,0,20,1))

--

HTH

RP
(remove nothere from the email address if mailing direct)
 
You can avoid the Volatile OFFSET function.

Try,

=SUM(INDEX(A:A,COUNTA(A:A)-19):INDEX(A:A,COUNTA(A:A)))


HTH
 

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