formula help please
ok, thanks, that's what i thought might be the case.
--
Gary
"JMB" wrote in message
...
The MMULT error you see is likely due to some of the cells being empty.
Is the 0 intended to test for empty cells or negative values? Sumproduct
will treat empty cells as 0, perhaps just:
=SUMPRODUCT($B$1:$R$1, $B4:$R4)
"Gary Keramidas" wrote:
i put the values from K3:K19 in b1:r1 on the same sheet and this seemed to
work.
which solution is best?
=SUMPRODUCT((B4:R40)*($B$1:$R$1)*($B4:$R4))
--
Gary
"Dave Peterson" wrote in message
...
One way:
=SUM(TRANSPOSE(B4:R4)*Production!$K$3:$K$19)
This is an array formula. Hit ctrl-shift-enter instead of enter. If you
do
it
correctly, excel will wrap curly brackets {} around your formula. (don't
type
them yourself.)
Gary Keramidas wrote:
is it possible to shorten this, possibly array or sumproduct?
=(B4*Production!$K$3)+(C4*Production!$K$4)+(D4*Pro duction!$K$5)+(E4*Production!$K$6)+(F4*Production! $K$7)+(G4*Production!$K$8)+(H4*Production!$K$9)+(I 4*Production!$K$10)+(J4*Production!$K$11)+(K4*Prod uction!$K$12)+(L4*Production!$K$13)+(M4*Production !$K$14)+(N4*Production!$K$15)+(O4*Production!$K$16 )+(P4*Production!$K$17)+(Q4*Production!$K$18)+(R4* Production!$K$19)
--
Gary
--
Dave Peterson
|