PC Review


Reply
Thread Tools Rate Thread

Sum column up to a given cell

 
 
Makaron
Guest
Posts: n/a
 
      9th Jul 2008
I would like to enter a formula into a cell that sums all values above it in
that column until it reaches the cell itself.

In other words, I keep track of the sum of values in a column (in let's say
cell A25), where I sum everything from above in the column (A1:A24). I then
insert new row 25 - I would like the sum column (now A26) to include A25 in
the sum range automatically.

Is there a way to do this? Thank you very much!
 
Reply With Quote
 
 
 
 
Bob I
Guest
Posts: n/a
 
      9th Jul 2008
Put "SUM" one more row down. So A26 is SUM(A1:A25) but leave A25 blank.
Now insert at A25.

Makaron wrote:

> I would like to enter a formula into a cell that sums all values above it in
> that column until it reaches the cell itself.
>
> In other words, I keep track of the sum of values in a column (in let's say
> cell A25), where I sum everything from above in the column (A1:A24). I then
> insert new row 25 - I would like the sum column (now A26) to include A25 in
> the sum range automatically.
>
> Is there a way to do this? Thank you very much!


 
Reply With Quote
 
Dave Mills
Guest
Posts: n/a
 
      9th Jul 2008
On Wed, 09 Jul 2008 09:45:38 -0500, Bob I <(E-Mail Removed)> wrote:

>Put "SUM" one more row down. So A26 is SUM(A1:A25) but leave A25 blank.
>Now insert at A25.


But also set the row to a color like Blue or Red (take your pick) and reduce the
row height so it looks like a line on the sheet. This will stop (well
discourage) you from trying to put data in that row. Now your inserts will
always be in the range and so it gets extended.

Another possibility in Ex 2003 may be Lists.
>
>Makaron wrote:
>
>> I would like to enter a formula into a cell that sums all values above it in
>> that column until it reaches the cell itself.
>>
>> In other words, I keep track of the sum of values in a column (in let's say
>> cell A25), where I sum everything from above in the column (A1:A24). I then
>> insert new row 25 - I would like the sum column (now A26) to include A25 in
>> the sum range automatically.
>>
>> Is there a way to do this? Thank you very much!

--
Dave Mills
There are 10 type of people, those that understand binary and those that don't.
 
Reply With Quote
 
Makaron
Guest
Posts: n/a
 
      9th Jul 2008
Thanks a lot - that was a useful advice to drop the row height.
The thing is I won't be personally updating this - so making the row very
tiny will discourage others from inserting data into it.

"Dave Mills" wrote:

> On Wed, 09 Jul 2008 09:45:38 -0500, Bob I <(E-Mail Removed)> wrote:
>
> >Put "SUM" one more row down. So A26 is SUM(A1:A25) but leave A25 blank.
> >Now insert at A25.

>
> But also set the row to a color like Blue or Red (take your pick) and reduce the
> row height so it looks like a line on the sheet. This will stop (well
> discourage) you from trying to put data in that row. Now your inserts will
> always be in the range and so it gets extended.
>
> Another possibility in Ex 2003 may be Lists.
> >
> >Makaron wrote:
> >
> >> I would like to enter a formula into a cell that sums all values above it in
> >> that column until it reaches the cell itself.
> >>
> >> In other words, I keep track of the sum of values in a column (in let's say
> >> cell A25), where I sum everything from above in the column (A1:A24). I then
> >> insert new row 25 - I would like the sum column (now A26) to include A25 in
> >> the sum range automatically.
> >>
> >> Is there a way to do this? Thank you very much!

> --
> Dave Mills
> There are 10 type of people, those that understand binary and those that don't.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Check cell column A and add 1 to cell of column D by using Macro tlee Microsoft Excel Programming 12 1st Jul 2009 02:16 PM
Sum Cell Values of one column based on Another Cell Value in a different column kristenb via OfficeKB.com Microsoft Excel Worksheet Functions 4 5th Feb 2008 04:33 PM
Maddening Dilemma - Compare each cell within column a to each cell in column b and find unique matches pogster@gmail.com Microsoft Excel Worksheet Functions 65 16th Nov 2007 08:27 PM
Format cell in column B based on value in the next cell (column c) =?Utf-8?B?Tmljb2xl?= Microsoft Excel Misc 7 18th May 2005 11:19 PM
Copying last cell's datal in one column to first cell in next column? jonco Microsoft Excel Discussion 7 21st Mar 2005 08:52 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 PM.