Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to SUM for indeterminate number of rows?

I have a column of numbers starting at cell B3. The number of rows is not
fixed - it changes. How do I write one SUM function to sum everything from B3
to the last number, whatever row it might be on?

Is there a way to combine it with the COUNT function to accomplish this goal?

Please show me an example
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How to SUM for indeterminate number of rows?

You could just do:

=SUM(B:B)

as long as the formula is not in column B - it will ignore blanks and
text.

Hope this helps.

Pete

On Feb 20, 1:02*am, MrNobody
wrote:
I have a column of numbers starting at cell B3. The number of rows is not
fixed - it changes. How do I write one SUM function to sum everything from B3
to the last number, whatever row it might be on?

Is there a way to combine it with the COUNT function to accomplish this goal?

Please show me an example


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default How to SUM for indeterminate number of rows?

The only problem is this seems to sum the entire column.

I need it to start summing at B3 down to whatever is left, because on the
first two rows are numbers I don't want included in the summing.

Any way to do that?

Thanks!

"Pete_UK" wrote:

You could just do:

=SUM(B:B)

as long as the formula is not in column B - it will ignore blanks and
text.

Hope this helps.

Pete

On Feb 20, 1:02 am, MrNobody
wrote:
I have a column of numbers starting at cell B3. The number of rows is not
fixed - it changes. How do I write one SUM function to sum everything from B3
to the last number, whatever row it might be on?

Is there a way to combine it with the COUNT function to accomplish this goal?

Please show me an example



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default How to SUM for indeterminate number of rows?

On Thu, 19 Feb 2009 17:30:01 -0800, MrNobody
wrote:

The only problem is this seems to sum the entire column.

I need it to start summing at B3 down to whatever is left, because on the
first two rows are numbers I don't want included in the summing.

Any way to do that?

Thanks!


Then just do something like =sum(b3:b65535) or some other number large enough
to encompass your entire potential used range.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How to SUM for indeterminate number of rows?

In that case, why not =SUM(B:B)-SUM(B1:B2) ?
--
David Biddulph

MrNobody wrote:
The only problem is this seems to sum the entire column.

I need it to start summing at B3 down to whatever is left, because on
the first two rows are numbers I don't want included in the summing.

Any way to do that?

Thanks!

"Pete_UK" wrote:

You could just do:

=SUM(B:B)

as long as the formula is not in column B - it will ignore blanks and
text.

Hope this helps.

Pete

On Feb 20, 1:02 am, MrNobody
wrote:
I have a column of numbers starting at cell B3. The number of rows
is not fixed - it changes. How do I write one SUM function to sum
everything from B3 to the last number, whatever row it might be on?

Is there a way to combine it with the COUNT function to accomplish
this goal?

Please show me an example





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,059
Default How to SUM for indeterminate number of rows?

On Feb 19, 5:02*pm, MrNobody
wrote:
I have a column of numbers starting at cell B3.
The number of rows is not fixed - it changes.
How do I write one SUM function to sum everything
from B3 to the last number, whatever row it might
be on?


There are several ways to do this, but which one is best depends on
the circumstances. One common way is to always be sure there is a
blank cell (or a cell with text, like a title) at least at the end,
and perhaps even before, the column of numbers that you want to sum
over. For example, if B2 is a title, you currently have values in
B3:B10 and B11 is empty, you could write SUM(B2:B11). Then, if you
insert rows after B2 or B10 or you delete rows, the B11 in the SUM
range will be changed automagically.

If that approach does not work for your situation, I suggest that you
post a reply with more details about your situation.
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
Creating a subtotal for an indeterminate number of rows Kim1802 Excel Discussion (Misc queries) 0 November 24th 06 12:27 PM
Get number of rows that data uses, including blank rows Denham Coote Excel Discussion (Misc queries) 5 August 22nd 06 02:10 PM
Get number of rows that data takes up, including blank rows Denham Coote Excel Worksheet Functions 2 August 21st 06 09:18 AM
indeterminate 0/0 integreat Excel Discussion (Misc queries) 6 July 31st 06 02:36 AM
flexible paste rows function that inserts the right number of rows marika1981 Excel Discussion (Misc queries) 1 February 18th 05 02:40 AM


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

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"