Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sum of rolling (set number cells above the total)l

How do you set a formula so it gets sum of a set number of cells above it in
the same column. Then so that formula will roll down and still only give sum
of the given number of cells. So it only totals the 5 cells immediatly above
it, even if it is moved down some rows. Example cell b11 =sum(b4:b10) so
it will roll down 10 rows and be b21 =sum(b14:b20)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,393
Default sum of rolling (set number cells above the total)l

If B11 has formula =SUM(B4:B10) it is summing 7 cells above it
If I drag the fill handle (small solid square in lower right corner of
active cell) so as to copy this down the column, then at cell B21 is will
have =SUM(B14:B20) which sums 7 cell above it.

Have you tried it? Or am I missing something?
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Ohmer4j" wrote in message
...
How do you set a formula so it gets sum of a set number of cells above it
in
the same column. Then so that formula will roll down and still only give
sum
of the given number of cells. So it only totals the 5 cells immediatly
above
it, even if it is moved down some rows. Example cell b11 =sum(b4:b10)
so
it will roll down 10 rows and be b21 =sum(b14:b20)



  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default sum of rolling (set number cells above the total)l

what do you mean by roll down?
are you inserting this into an existing column and replacing the value that
was there before?

"Ohmer4j" wrote:

How do you set a formula so it gets sum of a set number of cells above it in
the same column. Then so that formula will roll down and still only give sum
of the given number of cells. So it only totals the 5 cells immediatly above
it, even if it is moved down some rows. Example cell b11 =sum(b4:b10) so
it will roll down 10 rows and be b21 =sum(b14:b20)

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sum of rolling (set number cells above the total)l

I was trying to set up where I could get a sum of the column and then insert
more rows, the formula would just move down and only use the set number of
cells above and not all the cells from the top of the column.

"bj" wrote:

what do you mean by roll down?
are you inserting this into an existing column and replacing the value that
was there before?

"Ohmer4j" wrote:

How do you set a formula so it gets sum of a set number of cells above it in
the same column. Then so that formula will roll down and still only give sum
of the given number of cells. So it only totals the 5 cells immediatly above
it, even if it is moved down some rows. Example cell b11 =sum(b4:b10) so
it will roll down 10 rows and be b21 =sum(b14:b20)

  #5   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default sum of rolling (set number cells above the total)l

in that case your equation should be fine.


"Ohmer4j" wrote:

I was trying to set up where I could get a sum of the column and then insert
more rows, the formula would just move down and only use the set number of
cells above and not all the cells from the top of the column.

"bj" wrote:

what do you mean by roll down?
are you inserting this into an existing column and replacing the value that
was there before?

"Ohmer4j" wrote:

How do you set a formula so it gets sum of a set number of cells above it in
the same column. Then so that formula will roll down and still only give sum
of the given number of cells. So it only totals the 5 cells immediatly above
it, even if it is moved down some rows. Example cell b11 =sum(b4:b10) so
it will roll down 10 rows and be b21 =sum(b14:b20)



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
rolling document number Alan Excel Discussion (Misc queries) 1 November 6th 06 09:15 AM
12 month Rolling Total Need Help Excel Worksheet Functions 0 September 22nd 06 03:19 PM
how do I increase the number of cells I want to total acking62 Excel Discussion (Misc queries) 3 August 23rd 06 01:44 PM
total cells with text and number EX: GS-5 dap1 Excel Worksheet Functions 4 May 4th 06 02:21 PM
Counting the total number of cells with specified condition(freque Kelvin Excel Discussion (Misc queries) 2 July 10th 05 12:22 PM


All times are GMT +1. The time now is 10:15 AM.

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

About Us

"It's about Microsoft Excel"