Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating a range automatecally

Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?

Hope that makes sense lol.

Thanks


Ninko
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Updating a range automatecally

There are a number of ways:
1) If you have nothing else in the column, us a formula such as =SUM(A:A)
2) If you are using Excel 2003, make the range a List (select range, use
Data | List)
3) Define a dynamic range name - see, for example
http://www.ozgrid.com/Excel/DynamicRanges.htm or
http://www.contextures.com/xlNames01.html
best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Ninko" wrote in message
...
Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a
way
to have the range update to include the new row(s)?

Hope that makes sense lol.

Thanks


Ninko



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Updating a range automatecally

Ninko

=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP

On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:

Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?

Hope that makes sense lol.

Thanks


Ninko


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating a range automatecally

Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?

Sorry I'm not too good with Excel.

Thanks


Ninko



"Gord Dibben" wrote:

Ninko

=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP

On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:

Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?

Hope that makes sense lol.

Thanks


Ninko



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Updating a range automatecally

You can do:

=SUM(G6:G65536)

Do you really need to include the cells G1:G4 as part of the sum?

Hope this helps.

Pete

On Jul 14, 12:32 am, Ninko wrote:
Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?

Sorry I'm not too good with Excel.

Thanks

Ninko



"Gord Dibben" wrote:
Ninko


=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP


On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:


Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?


Hope that makes sense lol.


Thanks


Ninko- Hide quoted text -


- Show quoted text -





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating a range automatecally

Sadly yeah, otherwise it will be all over the place.


Ninko



"Pete_UK" wrote:

You can do:

=SUM(G6:G65536)

Do you really need to include the cells G1:G4 as part of the sum?

Hope this helps.

Pete

On Jul 14, 12:32 am, Ninko wrote:
Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?

Sorry I'm not too good with Excel.

Thanks

Ninko



"Gord Dibben" wrote:
Ninko


=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP


On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:


Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?


Hope that makes sense lol.


Thanks


Ninko- Hide quoted text -


- Show quoted text -




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Updating a range automatecally

Well, okay, you can do this to avoid cell G5:

=SUM(G1:G4)+SUM(G6:G65536)

Hope this helps.

Pete

On Jul 14, 2:22 am, Ninko wrote:
Sadly yeah, otherwise it will be all over the place.

Ninko



"Pete_UK" wrote:
You can do:


=SUM(G6:G65536)


Do you really need to include the cells G1:G4 as part of the sum?


Hope this helps.


Pete


On Jul 14, 12:32 am, Ninko wrote:
Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?


Sorry I'm not too good with Excel.


Thanks


Ninko


"Gord Dibben" wrote:
Ninko


=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP


On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:


Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?


Hope that makes sense lol.


Thanks


Ninko- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default Updating a range automatecally

Fri, 13 Jul 2007 16:32:02 -0700 from Ninko
:
Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?


Leave G5 blank, and in G6 put this formula
=sum(G1:G5)
Then insert rows above row 5 to add numbers. The formula will update
automatically.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Updating a range automatecally

Ok, thanks for everyones help.

Take care


Ninko



"Pete_UK" wrote:

Well, okay, you can do this to avoid cell G5:

=SUM(G1:G4)+SUM(G6:G65536)

Hope this helps.

Pete

On Jul 14, 2:22 am, Ninko wrote:
Sadly yeah, otherwise it will be all over the place.

Ninko



"Pete_UK" wrote:
You can do:


=SUM(G6:G65536)


Do you really need to include the cells G1:G4 as part of the sum?


Hope this helps.


Pete


On Jul 14, 12:32 am, Ninko wrote:
Thanks for the help, one other question though. On one colunm I'm using:
=SUM(G:G) but the answer is in cell G5 and so it gives an error, is there a
way of getting around this, like ignore that cell or something?


Sorry I'm not too good with Excel.


Thanks


Ninko


"Gord Dibben" wrote:
Ninko


=SUM(A1:INDEX(A:A,ROW()-1))


Gord Dibben MS Excel MVP


On Fri, 13 Jul 2007 13:04:00 -0700, Ninko
wrote:


Hi there,
I'm trying to perform a sum on a few rows, but when I add a new row I have
to update the range in the sum to have the new row included. Is there a way
to have the range update to include the new row(s)?


Hope that makes sense lol.


Thanks


Ninko- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -




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
updating a range of cells by a multiplier spence Excel Worksheet Functions 5 May 1st 07 10:13 PM
Name range not updating VBA Noob Excel Worksheet Functions 1 August 3rd 06 01:11 PM
Updating Range Names ExcelUser777 Excel Discussion (Misc queries) 4 March 30th 06 09:20 PM
Updating a named range joala Excel Worksheet Functions 2 March 16th 06 06:10 PM
Sum range updating Chad Wethington Excel Discussion (Misc queries) 14 July 9th 05 01:37 AM


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