Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Debbie
 
Posts: n/a
Default insert a new cell into an existing formula

I have a simple formula in excel that adds every 7th row for a total. When I
add rows to this worksheet (in the center), the formula does not update to
reflect the new cells. How do I get the SUM formula to update?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

A formula such

=SUMPRODUCT((A1:A20)*(MOD(ROW(A1:A20),7)=0))

will reflect the changes if a row is inserted within the range. What is
yours like?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Debbie" wrote in message
...
I have a simple formula in excel that adds every 7th row for a total. When

I
add rows to this worksheet (in the center), the formula does not update

to
reflect the new cells. How do I get the SUM formula to update?



  #3   Report Post  
Debbie
 
Posts: n/a
Default

Mine is like this:

=SUM(F11+F18+F25+F32+F39+F46+F53+F60+F67+F74+F81+F 88+F95+F102+F109+F116+F123+F130+F137+F144+F158+F16 5+F172+F179+F186+F193+F200+F207+F214+F221+F228+F23 5+F242+F249+F256+F263+F270+F277+F284)

I have inserted new rows 151 through 155. Now I need to have this formula
update to include F151, the next down to reflect F152, the next one F153, etc


"Bob Phillips" wrote:

A formula such

=SUMPRODUCT((A1:A20)*(MOD(ROW(A1:A20),7)=0))

will reflect the changes if a row is inserted within the range. What is
yours like?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Debbie" wrote in message
...
I have a simple formula in excel that adds every 7th row for a total. When

I
add rows to this worksheet (in the center), the formula does not update

to
reflect the new cells. How do I get the SUM formula to update?




  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

Debbie,

Try this instead

=SUMPRODUCT(--(F11:F284),--(MOD(ROW(F11:F284),7)=4))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Debbie" wrote in message
...
Mine is like this:


=SUM(F11+F18+F25+F32+F39+F46+F53+F60+F67+F74+F81+F 88+F95+F102+F109+F116+F123
+F130+F137+F144+F158+F165+F172+F179+F186+F193+F200 +F207+F214+F221+F228+F235+
F242+F249+F256+F263+F270+F277+F284)

I have inserted new rows 151 through 155. Now I need to have this formula
update to include F151, the next down to reflect F152, the next one F153,

etc


"Bob Phillips" wrote:

A formula such

=SUMPRODUCT((A1:A20)*(MOD(ROW(A1:A20),7)=0))

will reflect the changes if a row is inserted within the range. What is
yours like?

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Debbie" wrote in message
...
I have a simple formula in excel that adds every 7th row for a total.

When
I
add rows to this worksheet (in the center), the formula does not

update
to
reflect the new cells. How do I get the SUM formula to update?






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
Can a Formula in Cell X modify Cell Y? alMandragor Excel Discussion (Misc queries) 7 February 10th 05 09:51 PM
How do I fix a formula in a cell? Kev Nurse Excel Discussion (Misc queries) 4 January 31st 05 07:25 PM
How do I prevent incorrect formula results appearing in cell? Marc Todd Excel Worksheet Functions 2 January 26th 05 07:57 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
How do I do math on a cell name in formula? Mark Mulik Excel Worksheet Functions 3 November 23rd 04 03:43 PM


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