H
Hippolyte
Hi all
Working on Excel2000 I have a function that gives me headache.
The function is:
=SUMPRODUCT(($C$7:$C$10=B$1)*1,$D$7:$D$10,MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)))
Broken down in pieces it gives
=SUMPRODUCT(($C$7:$C$10=B$1)*1,
$D$7:$D$10,
MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)))
For some unknown (to me) reasons, intermediate results work just fine.
I mean
($C$7:$C$10=B$1)*1 give the expected result in an array formula
$D$7:$D$10 of course does too
MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)) does as well
This results in 3 "vertical vectors" that I SUMPRODUCT. It works.
But when I put all in one formula (the big formuala above), the
formula "wizard" to build the SUMPRODUCT
gives the correct result but the cell shows #VALUE.
Don't know how clear this is but you can always take a look at
www.5l.free.fr/book1.xls
Maybe it's so obvious that I don't see it but help would be
appreciated.
Jerome
Working on Excel2000 I have a function that gives me headache.
The function is:
=SUMPRODUCT(($C$7:$C$10=B$1)*1,$D$7:$D$10,MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)))
Broken down in pieces it gives
=SUMPRODUCT(($C$7:$C$10=B$1)*1,
$D$7:$D$10,
MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)))
For some unknown (to me) reasons, intermediate results work just fine.
I mean
($C$7:$C$10=B$1)*1 give the expected result in an array formula
$D$7:$D$10 of course does too
MMULT($F$7:$I$10,TRANSPOSE((F5:I5=$A2)*1)) does as well
This results in 3 "vertical vectors" that I SUMPRODUCT. It works.
But when I put all in one formula (the big formuala above), the
formula "wizard" to build the SUMPRODUCT
gives the correct result but the cell shows #VALUE.
Don't know how clear this is but you can always take a look at
www.5l.free.fr/book1.xls
Maybe it's so obvious that I don't see it but help would be
appreciated.
Jerome