Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiplying two rows together
If I have a set of coefficients in Row 1 B1:Z1 for example
and data values in Rows 2-N eg B2:Z2, B3:Z3, ...Bn:Zn What's the proper way to have in Cell A(n) such that I sum each number in the row by the corresponding coefficient I mean, instead of having it like this A2 = (B$1*B2)+(C$1*C2)+(D$1*D2)+(E$1*E2)+..... Is this an array formula of some kind that I need? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiplying two rows together
"Lee Harris" wrote in message ... If I have a set of coefficients in Row 1 B1:Z1 for example and data values in Rows 2-N eg B2:Z2, B3:Z3, ...Bn:Zn What's the proper way to have in Cell A(n) such that I sum each number in the row by the corresponding coefficient I mean, instead of having it like this A2 = (B$1*B2)+(C$1*C2)+(D$1*D2)+(E$1*E2)+..... Is this an array formula of some kind that I need? never mind, I gave SUMPRODUCT a try and this format seemed to work =SUMPRODUCT(H38:R38,H40:R40)+SUMPRODUCT(T40:AE40,T 38:AE38) |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiplying two rows together
=SUMPRODUCT(B1:M1,B2:M2)
-- HTH RP (remove nothere from the email address if mailing direct) "Lee Harris" wrote in message ... If I have a set of coefficients in Row 1 B1:Z1 for example and data values in Rows 2-N eg B2:Z2, B3:Z3, ...Bn:Zn What's the proper way to have in Cell A(n) such that I sum each number in the row by the corresponding coefficient I mean, instead of having it like this A2 = (B$1*B2)+(C$1*C2)+(D$1*D2)+(E$1*E2)+..... Is this an array formula of some kind that I need? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Insert rows based on specific value | Excel Worksheet Functions | |||
formula to use when number of rows changes dynamically | Excel Worksheet Functions | |||
Hiding Rows if the linked rows are blank | Excel Discussion (Misc queries) | |||
Row selections by row # OR by even/odd rows in another spreadsheet | Excel Discussion (Misc queries) | |||
Adding Rows to Master Sheet | New Users to Excel |