Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default sumproduct last 30 rows

How can I use sumproduct on the last 30 rows of a database whose number of
rows changes daily?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default sumproduct last 30 rows

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

On Jul 3, 3:58 pm, Nick Krill
wrote:
How can I use sumproduct on the last 30 rows of a database whose number of
rows changes daily?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumproduct last 30 rows

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))


"Nick Krill" wrote:

How can I use sumproduct on the last 30 rows of a database whose number of
rows changes daily?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUMPRODUCT - Ignore blank rows sahafi Excel Worksheet Functions 8 June 13th 07 06:11 PM
SUMPRODUCT with varying # of rows Ren Excel Worksheet Functions 5 June 27th 06 11:28 PM
Excel 2003 -Rows hidden. Scrolling unhides rows ! How do I stop th Excellent1975 Excel Discussion (Misc queries) 0 June 21st 06 08:01 PM
Pivot Tables: How do I show ALL field rows, including empty rows?? [email protected] Excel Worksheet Functions 2 April 8th 05 06:21 PM
sumproduct and even numbered rows Jack Sons Excel Discussion (Misc queries) 6 March 30th 05 11:24 PM


All times are GMT +1. The time now is 06:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"