Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Inserting a row within a range that is defined in a sum function

I have the following question

When i have a sheet with the following data:

cell A1 1
cell A2 2
cell A3 3
cell A4 =sum(A1:A3) == 6


When i want to insert in row 4 another value (let's say):
cell A4 4

Then in cel A5 is still the formula =sum(A1:A3).

Is there a trick to let the formula change (automattically, e.g. with a key
combination) when inserting a row into == =sum(A1:A4)

I am using Office Excel 2003

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 135
Default Inserting a row within a range that is defined in a sum function

Victor -

Put your sum in cell A5 with =SUM(A1:A4) , leaving row 4 blank.

Now you can add a row (select row 4 and Insert Row), and the formula will
adjust with the inserted rows. This is because when you insert a row in
Excel, it inserts the row above the current row. Since the 'current row' in
your example was the sum row, it did not include that row in the formula, and
the formula wasn't updated. In the method above, the current row (row 4)
would be in the formula in cell A5, and it will be adjusted when you insert
the new row.
--
Daryl S


"Victor" wrote:

I have the following question

When i have a sheet with the following data:

cell A1 1
cell A2 2
cell A3 3
cell A4 =sum(A1:A3) == 6


When i want to insert in row 4 another value (let's say):
cell A4 4

Then in cel A5 is still the formula =sum(A1:A3).

Is there a trick to let the formula change (automattically, e.g. with a key
combination) when inserting a row into == =sum(A1:A4)

I am using Office Excel 2003

.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 694
Default Inserting a row within a range that is defined in a sum function

HI Victor
You can use the function " List " goto Data List
You select your column excluding the total and it will adjust by itself.
HTH
John
"Victor" wrote in message
...
I have the following question

When i have a sheet with the following data:

cell A1 1
cell A2 2
cell A3 3
cell A4 =sum(A1:A3) == 6


When i want to insert in row 4 another value (let's say):
cell A4 4

Then in cel A5 is still the formula =sum(A1:A3).

Is there a trick to let the formula change (automattically, e.g. with a key
combination) when inserting a row into == =sum(A1:A4)

I am using Office Excel 2003


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
Passing a range to a user defined function Gary Nelson Excel Discussion (Misc queries) 1 July 19th 07 04:22 PM
VB pre-defined range ? Daniel Charts and Charting in Excel 3 June 13th 07 11:40 PM
How can I see defined name range? smart.daisy Excel Discussion (Misc queries) 2 March 6th 06 03:52 PM
Referencing defined range spartanmba Excel Discussion (Misc queries) 2 September 14th 05 01:28 AM
Defined range problem Pat Excel Discussion (Misc queries) 8 January 17th 05 11:25 AM


All times are GMT +1. The time now is 09:45 PM.

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"