hi,
i've just seen the sumproduct tutorial. Does excel has a "sum divide" function?
Can you show me the weblink to this tutorial, thanks?
hi,
i've just seen the sumproduct tutorial. Does excel has a "sum divide" function?
Can you show me the weblink to this tutorial, thanks?
Do you mean something like
Anything like that has #DIV/0 problems, that can be worked around.=SUMPRODUCT(1/(A1:A10), 1/(B1:B10))
Do you have a specific need for a SumDivide?
Or maybe you mean
Perhaps you could clarify what you mean.=SUMPRODUCT(A1:A1/B1:B5)
As to a weblink, to what tutorial?
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
hi,
example:
row colA colB
1 2 10
2 1.3
3 2.5 30
-----------------
Answer: 17
-----------------
i need to find out the sum of these 3 rows.
17 = (10/2) + (1.3/0) + (30/2.5)
I have many rows of data. If i were to write the formula like above, it would takes up plenty of time!
i do not know whether excel have such a formula like sumdivide to perform the above functions.
17 does not equal (10/2) + (1.3/0) + (30/2.5).
The second term is undefined and, therefore, the sum is also.
But a variation of xld's formula might work.
perhaps
=SUMPRODUCT(B1:B3/A1:A3)
No, that will give an error as well. I would suggest this array formula
=SUM(IF(NOT(ISERROR(B1:B3/A1:A3)),B1:B3/A1:A3))
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
it works great, thanks
There are 3 excellent SumProduct tutorials as 'Stickies' are the top of the SumProduct sub-forum that have a very good presentation of how to use Sumproduct
http://www.vbaexpress.com/forum/forumdisplay.php?f=98
As well as
http://xldynamic.com/source/xld.SUMPRODUCT.html
Paul