Re: Best way to insert rows
- From: "Don Guillett" <dguillett1@xxxxxxxxxxxxx>
- Date: Sun, 4 Nov 2007 08:27:59 -0600
to sum to the row desired
=SUM(OFFSET($B$1,,,ROW()-1,1))
to sum to the last row with a number
=SUM(OFFSET($B$1,,,MATCH(99999,B:B),1))
--
Don Guillett
Microsoft MVP Excel
SalesAid Software
dguillett1@xxxxxxxxxxxxx
"John Google" <JohnGoogle@xxxxxxxxxxxxx> wrote in message news:1194175358.144228.230410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Suppose I have a simple spread *** where A1-A4,B1-B4 and C1-C4 have
various numbers.
A5 has the formula = SUM(A1:A4). B5 and C5 have similar formula to sum
their rows.
I now have a simple question.
I want to insert 4 rows after row 4 to enter new data into the 3
columns (12 cells). The formula which was in A5 will be moved to A9
(similar for cols B and C).
I can enter the rows OK by selecting 4 rows from A5 to A8 then
selecting the menus Insert / Rows.
However, when I do this, the formulae still refer to =SUM(A1:A4) and
not =SUM(A1:A8).
What is the best way to insert rows and adjust the formulae
automatically?
Thanks!
.
- References:
- Best way to insert rows
- From: John Google
- Best way to insert rows
- Prev by Date: Re: How do I do an entended budget, with only high and low figures?
- Next by Date: Kuder-Richardson #21 Formula for estimate test reliability
- Previous by thread: Re: Best way to insert rows
- Next by thread: Re: Automated multiple text files into multiple sheets in one work
- Index(es):