Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
MSG MSG is offline
external usenet poster
 
Posts: 2
Default Adding Rows To Update A Formula

Whoever can help

How do you update a cell sum to include a row you have just added to either
the top of your stack or the bottom.

For example if I have the numbers 5,5,5 in cells A3,A4,A5 respectively and
my sum cell is A7 and I add a row either above A43 or below A5 the forumla
won't recognise to include these? Whereas if I added a row between A3,A4 it
would.

I would have thought this may have needed a VB function?

Thanks you in advance for any replies
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Adding Rows To Update A Formula

Running a macro would probably require you to overtly run it depending on
exactly what you are doing. If you are going to perform an overt action,
then how about selecting A7 (perhaps now A8) and hitting the Autosum button.

--
Regards,
Tom Ogilvy



"msg" wrote:

Whoever can help

How do you update a cell sum to include a row you have just added to either
the top of your stack or the bottom.

For example if I have the numbers 5,5,5 in cells A3,A4,A5 respectively and
my sum cell is A7 and I add a row either above A43 or below A5 the forumla
won't recognise to include these? Whereas if I added a row between A3,A4 it
would.

I would have thought this may have needed a VB function?

Thanks you in advance for any replies

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Adding Rows To Update A Formula

=SUM(OFFSET(A1,2,0):OFFSET(A7,-1,0))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"msg" wrote in message
...
Whoever can help

How do you update a cell sum to include a row you have just added to

either
the top of your stack or the bottom.

For example if I have the numbers 5,5,5 in cells A3,A4,A5 respectively and
my sum cell is A7 and I add a row either above A43 or below A5 the forumla
won't recognise to include these? Whereas if I added a row between A3,A4

it
would.

I would have thought this may have needed a VB function?

Thanks you in advance for any replies



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
formula range doesn't update for new rows lharp21 Excel Worksheet Functions 1 February 24th 10 11:40 PM
Summarize Data and automatically update including adding rows Dawnaha Excel Discussion (Misc queries) 4 October 18th 06 10:01 PM
Adding and Deleting rows - update formulas help needed. bperks Excel Worksheet Functions 1 May 31st 06 08:30 PM
when adding new rows starting point of the formula doesn't update Debbie Excel Discussion (Misc queries) 1 April 21st 06 07:15 PM
Formula doesn't update when rows are inserted arreferee Excel Worksheet Functions 2 April 12th 06 04:53 PM


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