A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Sum of a column from nth row to end



 
 
Thread Tools Display Modes
  #1  
Old August 19th, 2009, 03:57 PM posted to microsoft.public.excel.worksheet.functions
itsAchint
external usenet poster
 
Posts: 2
Default Sum of a column from nth row to end

I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!
  #2  
Old August 19th, 2009, 03:59 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default Sum of a column from nth row to end

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!

  #3  
Old August 19th, 2009, 04:10 PM posted to microsoft.public.excel.worksheet.functions
itsAchint
external usenet poster
 
Posts: 2
Default Sum of a column from nth row to end

Luke,
I know I could do that but I was thinking whether we have some other options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!

  #4  
Old August 19th, 2009, 04:24 PM posted to microsoft.public.excel.worksheet.functions
Domenic[_2_]
external usenet poster
 
Posts: 265
Default Sum of a column from nth row to end

In article ,
itsAchint wrote:

I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!



Try...

=SUM(D3:INDEX(D365536,MATCH(9.99999999999999E+30 7,D365536)))

--
Domenic
Microsoft Excel MVP
www.xl-central.com
Your Quick Reference to Excel Solutions
  #5  
Old August 19th, 2009, 04:28 PM posted to microsoft.public.excel.worksheet.functions
Luke M
external usenet poster
 
Posts: 2,672
Default Sum of a column from nth row to end

Alternative ideas:

=SUM(OFFSET(D3,0,0,COUNT(D365536),1))
Offset creates a range with height based on number of numbers in column D.

=SUM(INDIRECT("D3"&COUNT(D365536)+3))
Indirect lets you manually create a reference, control row number via COUNT
in this example (but you could use a cell reference)

The SUM function is rather efficient however, so I would recommend just
going with that.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

Luke,
I know I could do that but I was thinking whether we have some other options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!

  #6  
Old August 19th, 2009, 04:30 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default Sum of a column from nth row to end

Try this:

=SUM(D3:INDEX(D,MATCH(99^99,D)))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"itsAchint" wrote in message
news Luke,
I know I could do that but I was thinking whether we have some other options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know
the
end) and place that sum in D1.
Please help !! Urgent !!



  #7  
Old August 19th, 2009, 04:35 PM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default Sum of a column from nth row to end

Hi,

Select the numbers in column D (say in range D312) and press Ctrl+L (to
convert the range to a list). Keep the box for "My data has header rows"
unchecked if D3 is not the header row. In cell D1, enter the formula
=sum(D312). Now when you add data in D13, the sum will auto update.

This will only work with Excel 2003 and above.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"itsAchint" wrote in message
...
I want to total a column from D3 to the end of D column (I don't know the
end) and place that sum in D1.
Please help !! Urgent !!


  #8  
Old August 19th, 2009, 04:37 PM posted to microsoft.public.excel.worksheet.functions
RagDyeR
external usenet poster
 
Posts: 3,482
Default Sum of a column from nth row to end

Didn't notice you wanted to place the total in Column D.

Try this:
=SUM(D3:INDEX(D310000,MATCH(99^99,D310000)))

--

Regards,

RD
-----------------------------------------------------------------------------------------------
Please keep all correspondence within the Group, so all may benefit !
-----------------------------------------------------------------------------------------------

"RagDyeR" wrote in message
...
Try this:

=SUM(D3:INDEX(D,MATCH(99^99,D)))

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"itsAchint" wrote in message
news Luke,
I know I could do that but I was thinking whether we have some other options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know
the
end) and place that sum in D1.
Please help !! Urgent !!




  #9  
Old August 19th, 2009, 06:16 PM posted to microsoft.public.excel.worksheet.functions
Rick Rothstein[_2_]
external usenet poster
 
Posts: 2,013
Default Sum of a column from nth row to end

I don't know this for sure, but my "gut" tells me that Excel will stop at
the limits of what in the VBA world is know as the UsedRange. The UsedRange
is, theoretically, the maximum range of cells in use (I said theoretically,
because deleting cell content via VB code can some times leave the UsedRange
larger than it should be). Excel tracks the extent of the cells in use and
it seems unlikely it would permit a calculation to extend into what it
"knows" is a range of cells that can have no data. So, I would simply use
=SUM(D365536) and not worry too much about it.

--
Rick (MVP - Excel)


"itsAchint" wrote in message
news
Luke,
I know I could do that but I was thinking whether we have some other
options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know
the
end) and place that sum in D1.
Please help !! Urgent !!


  #10  
Old August 19th, 2009, 06:56 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Sum of a column from nth row to end

Exactly!

In other words, if the last row that contains an entry is D100, Excel
doesn't bother checking cells D10165536. So there is no difference in
efficiency between these formulas:

=SUM(D3100)
=SUM(D365536)

This does not apply to all functions/formulas, though!

--
Biff
Microsoft Excel MVP


"Rick Rothstein" wrote in message
...
I don't know this for sure, but my "gut" tells me that Excel will stop at
the limits of what in the VBA world is know as the UsedRange. The UsedRange
is, theoretically, the maximum range of cells in use (I said theoretically,
because deleting cell content via VB code can some times leave the
UsedRange larger than it should be). Excel tracks the extent of the cells
in use and it seems unlikely it would permit a calculation to extend into
what it "knows" is a range of cells that can have no data. So, I would
simply use =SUM(D365536) and not worry too much about it.

--
Rick (MVP - Excel)


"itsAchint" wrote in message
news
Luke,
I know I could do that but I was thinking whether we have some other
options
if we don't want to sum that long.
I know we can sum a whole column using SUM(D) but you cannot place that
SUM in the same column.

"Luke M" wrote:

Since it doesn't matter if you include blank or text cells in the SUM
function, why not:

=SUM(D365536)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"itsAchint" wrote:

I want to total a column from D3 to the end of D column (I don't know
the
end) and place that sum in D1.
Please help !! Urgent !!




 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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