sumproduct last 30 rows

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

Guest

How can I use sumproduct on the last 30 rows of a database whose number of
rows changes daily?
 
Assuming your headings are in row 1 and data start from row 2 and
down. To sum column C:C, one way:

=SUMPRODUCT(OFFSET(C1,COUNTA(C:C)-29,0,30,))

HTH
Kostis Vezerides
 
Assume your data in column A and header in row1, and no "blank" cells in
between the data

=SUM(OFFSET(A2,COUNT(A:A)-1,,-30,1))
 

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