LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #16   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Sum of a column from nth row to end

You're welcome!

--
Biff
Microsoft Excel MVP


"Ragdyer" wrote in message
...
Appreciate the input ... Thanks.

--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"T. Valko" wrote in message
...
Yes.

(B1:B65535=D1)*(C1:C65535=D2)

That is an array even if you wrap inside INDEX:

INDEX((B1:B65535=D1)*(C1:C65535=D2),)

--
Biff
Microsoft Excel MVP


"RagDyeR" wrote in message
...
So what you're saying, is that even though the last formula is *not*

array
entered, it's calculating in exactly the same manner as Sumproduct
calculates.
--

Regards,

RD


--------------------------------------------------------------------------

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


--------------------------------------------------------------------------

---------------------

"T. Valko" wrote in message
...
No, all 3 of those examples are processing arrays so *every* cell
referenced
is being evaluated even though the used range may end at D100.

--
Biff
Microsoft Excel MVP


"RagDyer" wrote in message
...
So, are you saying that the first 2 formulas will evaluate differently
then the third?

=SUMPRODUCT((B1:B65535=D1)*(C1:C65535=D2)*A1:A6553 5)

=INDEX(A1:A65535,MATCH(1,(B1:B65535=D1)*(C1:C65535 =D2),0))

=INDEX(A1:A65535,MATCH(1,INDEX((B1:B65535=D1)*(C1: C65535=D2),),0))

I made sure no matches existed, so they would all need to go "full
range".

I don't have XL07 to try them on a larger range, but I can't *see* any
difference between the 3 in XL2K.
--
Regards,

RD


-------------------------------------------------------------------------

--
Please keep all correspondence within the NewsGroup, so all may
benefit

!

-------------------------------------------------------------------------

--

"T. Valko" wrote in message
...
SUMPRODUCT and any other array processing formulas will evaluate

*every*
cell referenced by the formula.

In Excel 2007, something like:

=SUMPRODUCT(--(A:A="x"),--(B:B="z"))

is "crazy" if you don't actually have data in every row.

--
Biff
Microsoft Excel MVP


"RagDyer" wrote in message
...
What about Sumproduct Biff?
--
Regards,

RD


-----------------------------------------------------------------------

----
Please keep all correspondence within the NewsGroup, so all may

benefit
!


-----------------------------------------------------------------------

----
"T. Valko" wrote in message
...
Exactly!

In other words, if the last row that contains an entry is D100,

Excel
doesn't bother checking cells D101:D65536. So there is no
difference
in
efficiency between these formulas:

=SUM(D3:D100)
=SUM(D3:D65536)

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(D3:D65536) and not worry too much
about it.

--
Rick (MVP - Excel)


"itsAchint" wrote in message
...
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: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(D3:D65536)
--
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 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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Referencing date column A & time column B to get info from column TVGuy29 Excel Discussion (Misc queries) 1 January 24th 08 09:50 PM
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
what formula do i put for column m = column k minus column l in e. jenniss Excel Discussion (Misc queries) 5 January 6th 05 08:18 PM


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