ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum and multiply at the same time? (https://www.excelbanter.com/excel-discussion-misc-queries/260863-sum-multiply-same-time.html)

Michelle Embleton

Sum and multiply at the same time?
 
hello, I wonder if anyone can help with the following, I have a colleague
who
would like to sum and multiply at the same time in a large spreadsheet. He
can do this if he types out the whole formula as =sum(a3*a5, b3*b5, etc) but
this is extremely laborious for him. If he tries to use =sum(a3*a5:z3*z5) it
converts his formula to =sum(a5*a5:z5*z5) and gives him #value as an answer.
Is there any way round this problem?



Roger Govier[_8_]

Sum and multiply at the same time?
 
Hi Michelle

Try
=SUMPRODUCT(A3:Z3*A5:Z5)
--
Regards
Roger Govier

Michelle Embleton wrote:
hello, I wonder if anyone can help with the following, I have a colleague
who
would like to sum and multiply at the same time in a large spreadsheet. He
can do this if he types out the whole formula as =sum(a3*a5, b3*b5, etc) but
this is extremely laborious for him. If he tries to use =sum(a3*a5:z3*z5) it
converts his formula to =sum(a5*a5:z5*z5) and gives him #value as an answer.
Is there any way round this problem?



מיכאל (מיקי) אבידן

Sum and multiply at the same time?
 
Let him try: SUMPRODUCT
Micky


"Michelle Embleton" wrote:

hello, I wonder if anyone can help with the following, I have a colleague
who
would like to sum and multiply at the same time in a large spreadsheet. He
can do this if he types out the whole formula as =sum(a3*a5, b3*b5, etc) but
this is extremely laborious for him. If he tries to use =sum(a3*a5:z3*z5) it
converts his formula to =sum(a5*a5:z5*z5) and gives him #value as an answer.
Is there any way round this problem?



מיכאל (מיקי) אבידן

Sum and multiply at the same time?
 
....and only after(!) learning the use of SUMPRODUCT - he may use:
=SUMPRODUCT(A3:Z3,A5:Z5)
Micky


"מיכאל (מיקי) אבידן" wrote:

Let him try: SUMPRODUCT
Micky


"Michelle Embleton" wrote:

hello, I wonder if anyone can help with the following, I have a colleague
who
would like to sum and multiply at the same time in a large spreadsheet. He
can do this if he types out the whole formula as =sum(a3*a5, b3*b5, etc) but
this is extremely laborious for him. If he tries to use =sum(a3*a5:z3*z5) it
converts his formula to =sum(a5*a5:z5*z5) and gives him #value as an answer.
Is there any way round this problem?



Bob Phillips[_4_]

Sum and multiply at the same time?
 
There is no need for the * operator Roger, there are no conditions.

=SUMPRODUCT(A3:Z3,A5:Z5)

works just fine

--

HTH

Bob

"Roger Govier" wrote in message
...
Hi Michelle

Try
=SUMPRODUCT(A3:Z3*A5:Z5)
--
Regards
Roger Govier

Michelle Embleton wrote:
hello, I wonder if anyone can help with the following, I have a
colleague who would like to sum and multiply at the same time in a large
spreadsheet. He can do this if he types out the whole formula as
=sum(a3*a5, b3*b5, etc) but this is extremely laborious for him. If he
tries to use =sum(a3*a5:z3*z5) it converts his formula to
=sum(a5*a5:z5*z5) and gives him #value as an answer. Is there any way
round this problem?




Roger Govier[_8_]

Sum and multiply at the same time?
 
Agreed, Bob.
Force of habit I guess!!

--
Regards
Roger Govier

Bob Phillips wrote:
There is no need for the * operator Roger, there are no conditions.

=SUMPRODUCT(A3:Z3,A5:Z5)

works just fine



All times are GMT +1. The time now is 05:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com