#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Formula question

I have a spreadsheet with about 50 rows that gradually will be filled up with
numbers. How can I make formula that will count and ad up only the 12 last
rows at any given time? The position of the last 12 rows will here obviously
change over time, since more numbers will be added frequently.

Thanks very much for any help.


--
Lars
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula question

For example, to add up the last twelve items in column A:

=SUM(OFFSET(A2,MATCH(2,1/(A2:A65536<0))-1,,-12))

this is an array formula must be entered with CNTRL-SHIFT-ENTER
--
Gary''s Student
gsnu200711

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
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
Formula Question thereclas Excel Worksheet Functions 4 March 20th 06 11:40 PM
formula QUESTION Excel Worksheet Functions 2 November 10th 05 12:18 PM
Formula question Dawn Excel Discussion (Misc queries) 1 November 8th 05 06:56 PM
formula question Mark Excel Discussion (Misc queries) 1 April 26th 05 10:54 AM


All times are GMT +1. The time now is 11:10 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"