Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default insert row and copy formula

Hello,
I have been reviewing previous questions and answers and wasn't able to
locate the answer to mine. If someone could please assist me that would be
greatly appreciated. I have provided the problem below. When I insert a row
under a3 the formula is not automatically incorporated. I have tried the
data--list option and tools-- options. How can i solve this problem so
when a row is inserted at the bottom of the formula range the formula in say
"A1" will autmotically extend

the problem:
A
1 SUM(a2:a3)
2 1
3 2
4sum(A5:A7)
5 4
6 6
7 8

thanks,
Andy
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default insert row and copy formula

one way:

A1: =SUM(OFFSET(A1,1,0,ROW(A6)-1,1))

In article ,
Andy B wrote:

Hello,
I have been reviewing previous questions and answers and wasn't able to
locate the answer to mine. If someone could please assist me that would be
greatly appreciated. I have provided the problem below. When I insert a row
under a3 the formula is not automatically incorporated. I have tried the
data--list option and tools-- options. How can i solve this problem so
when a row is inserted at the bottom of the formula range the formula in say
"A1" will autmotically extend

the problem:
A
1 SUM(a2:a3)
2 1
3 2
4sum(A5:A7)
5 4
6 6
7 8

thanks,
Andy

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default insert row and copy formula

hI JE,

I have tried the formula but it doesn't seem to work. I'm not sure but the
A6-1 caputures the values in cell A5. I just want the formula in A1 to
capture the amounts in A2:A3, and if someone were to add a row below the A3
row it would the new A4 the formula in A1 will read sum(A2:A4). Thereafter
the formula in the A4 cell prior to the insert would would move down.

so IF insertrow below A3 then the formula in A1 includes new A4

and

If insertrow below A7 then the formula in new A5 drags to A8

Your help is greatly appreciated

"JE McGimpsey" wrote:

one way:

A1: =SUM(OFFSET(A1,1,0,ROW(A6)-1,1))

In article ,
Andy B wrote:

Hello,
I have been reviewing previous questions and answers and wasn't able to
locate the answer to mine. If someone could please assist me that would be
greatly appreciated. I have provided the problem below. When I insert a row
under a3 the formula is not automatically incorporated. I have tried the
data--list option and tools-- options. How can i solve this problem so
when a row is inserted at the bottom of the formula range the formula in say
"A1" will autmotically extend

the problem:
A
1 SUM(a2:a3)
2 1
3 2
4sum(A5:A7)
5 4
6 6
7 8

thanks,
Andy


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default insert row and copy formula

Try:

A1: =SUM(OFFSET(A1,1,0,ROW(A4)-ROW(A1)-1,1))
A4: =SUM(OFFSET(A4,1,0,ROW(A8)-ROW(A4)-1,1))

In article ,
Andy B wrote:

hI JE,

I have tried the formula but it doesn't seem to work. I'm not sure but the
A6-1 caputures the values in cell A5. I just want the formula in A1 to
capture the amounts in A2:A3, and if someone were to add a row below the A3
row it would the new A4 the formula in A1 will read sum(A2:A4). Thereafter
the formula in the A4 cell prior to the insert would would move down.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default insert row and copy formula

Hi JE,

Thanks for this it worked... appreciate the help

Cheers

"JE McGimpsey" wrote:

Try:

A1: =SUM(OFFSET(A1,1,0,ROW(A4)-ROW(A1)-1,1))
A4: =SUM(OFFSET(A4,1,0,ROW(A8)-ROW(A4)-1,1))

In article ,
Andy B wrote:

hI JE,

I have tried the formula but it doesn't seem to work. I'm not sure but the
A6-1 caputures the values in cell A5. I just want the formula in A1 to
capture the amounts in A2:A3, and if someone were to add a row below the A3
row it would the new A4 the formula in A1 will read sum(A2:A4). Thereafter
the formula in the A4 cell prior to the insert would would move down.


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
Move/Copy or Copy/Insert worksheet? kjk Excel Discussion (Misc queries) 0 December 15th 06 02:40 PM
Insert Row & Copy Formula redruthann Excel Worksheet Functions 0 March 26th 06 11:51 PM
Copy & Insert from another xls JWF Excel Discussion (Misc queries) 1 March 14th 06 12:08 PM
Automatically insert row and copy formula Wendy Excel Worksheet Functions 5 August 25th 05 06:35 PM
Insert Formula and Copy to other cells [email protected] Excel Discussion (Misc queries) 1 August 12th 05 08:51 PM


All times are GMT +1. The time now is 04:19 AM.

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

About Us

"It's about Microsoft Excel"