Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave
 
Posts: n/a
Default Sum range auto update

Is there a way to make the sum function's range auto update when rows are
added above it. An example would be:

I have the following formula in K20, =SUM(K15:K19). If row 20 is selected
and a new row is inserted, the formula still sums K15:K19. I would like the
formula to update to =SUM(K15:K20) after the row is inserted.

Thanks
Dave



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Sum range auto update

What you're describing sounds like the ideal situation for using a Dynamic
Range Name. They automatically expand and contract with data additions and
deletions, respectively.

Check Debra Dalgleish's Contextures website for instructions on how to
create and use them:

http://www.contextures.com/xlNames01.html#Dynamic

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Dave" wrote:

Is there a way to make the sum function's range auto update when rows are
added above it. An example would be:

I have the following formula in K20, =SUM(K15:K19). If row 20 is selected
and a new row is inserted, the formula still sums K15:K19. I would like the
formula to update to =SUM(K15:K20) after the row is inserted.

Thanks
Dave



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Sum range auto update

Another alternative:

K20: =SUM($K$15:OFFSET(K20,-1,0))
That formula ALWAYS sums from K20 through the cell immediately above the
cell the SUM function is in.

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Ron Coderre" wrote:

What you're describing sounds like the ideal situation for using a Dynamic
Range Name. They automatically expand and contract with data additions and
deletions, respectively.

Check Debra Dalgleish's Contextures website for instructions on how to
create and use them:

http://www.contextures.com/xlNames01.html#Dynamic

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Dave" wrote:

Is there a way to make the sum function's range auto update when rows are
added above it. An example would be:

I have the following formula in K20, =SUM(K15:K19). If row 20 is selected
and a new row is inserted, the formula still sums K15:K19. I would like the
formula to update to =SUM(K15:K20) after the row is inserted.

Thanks
Dave



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Conan Kelly
 
Posts: n/a
Default Sum range auto update

We need something like this as well. We are always inserting rows and need the formulas to include new rows.

The only way I know around this is to select a row with in the range and insert. For example, select row 19 and insert there. If
you need the data that was in row 19 (which is now in row 20 and 19 is blank) to stay in that row, then you would have to sort the
data, copy and paste, or cut and insert.

Our new data will include all of the old data and the new rows. So what we normally do is copy all rows of the new data and paste
it over the top of the old data, replacing the whole set. The last row falls right into place right where it should be.

HTH,

Conan



"Dave" wrote in message ...
Is there a way to make the sum function's range auto update when rows are
added above it. An example would be:

I have the following formula in K20, =SUM(K15:K19). If row 20 is selected
and a new row is inserted, the formula still sums K15:K19. I would like the
formula to update to =SUM(K15:K20) after the row is inserted.

Thanks
Dave





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
formuls results won't update automatically (auto is turned on) cmoennig Excel Worksheet Functions 0 February 16th 06 12:17 AM
Auto update daily report problem SteveG Excel Discussion (Misc queries) 4 February 9th 06 08:25 PM
Links auto update on some workbooks but not others Tasza Excel Worksheet Functions 1 October 25th 05 01:04 AM
How do I automatically update a chart range in Excel Quinton Excel Discussion (Misc queries) 1 July 27th 05 12:57 PM
Update cell based on date range deversole Excel Discussion (Misc queries) 3 July 6th 05 01:58 PM


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