calculation times screencap:
http://img267.imageshack.us/img267/6321/cacltimes1rq2.jpg
The multiplication version is slightly faster when the number of
variables
is small. As the number of variables increases the calc time also increases
"signifcantly".
The --(ISNUMBER(MATCH(...)) version is faster in 2 out of 3 tests. Also note
that the number of variables seems to not slow this version down
(although
the number of variables is small).
Calc times measured using Charles Williams RangeTimer method.
--
Biff
Microsoft Excel MVP
Thanks for this, We life and learn
cheers
--
Bernard V Liengme
Microsoft Excel MVP
www.stfx.ca/people/bliengme
remove caps from email
If you've seen my posts over the years, you might have noticed my
*distaste* for the unary form of Sumproduct.
Besides the fact that it *can't* be used on different sized ranges
(column vs. row), and the fact that it allows text numbers to be
by-passed without any notice, it *also* doesn't work in this scenario.
Just revise your test formula from unary to asterisk, which is the
form
my suggested formula used.
=SUMPRODUCT((A1:A9={"A","B"})*B1:B9)
No problem with this ... is there?
--
Regards,
RD
------------------------------------------------------------------------