Epinn wrote...
I haven't really come across any situation that I need to confirm SUMPRODUCT with
CSE.
It's not SUMPRODUCT that requires array entry, it's other functions
called within the SUMPRODUCT call.
....
As you mentioned, TRANSPOSE requires array entry. Since it's result
would always be an array (worst case a degenerate 1-by-1 array),
requiring array entry makes some sense. OTOH, IF also requires array
entry, meaning formulas obviously returning scalar results like
=MIN(IF(x>0,x))
require array entry.
I don't believe anyone has come up with a comprehensive list of which
functions require array entry, but there are several that don't as long
as they don't include arguments that call other functions that do. That
is, the following return the same result entered normally or as array
formulas.
old (have been in Excel from the beginning)
-----------------------------------------------------------
FREQUENCY
LINEST
LOGEST
TREND
GROWTH
new (were added between Excel 4 and Excel 8 (97))
----------------------------------------------------------------------
SUMPRODUCT
LOOKUP
COUNTIF
SUMIF
Many of these usually return arrays, so they'd only be useful in
nonarray formulas as terms in more complex formulas.
Note that COUNTIF and SUMIF are interesting because they accept
arguments that are effectively arrays of range references.
Other functions appear not to require array entry in some contexts but
not others. Those include functions designed to work with range
references.
INDEX
OFFSET
INDIRECT
N
T
The exact semantics of these functions can only be discovered by trial
& error or reading the Excel newsgroups over a long period of time.
Microsoft has made no serious attempt to fully document these
functions.
As a rough rule-of-thumb, all old functions that have been in Excel
since the beginning except the 5 listed above require array entry to
process array or range arguments correctly when those arguments would
usually be scalars. As for add-in functions, most won't work correctly
with array arguments. Newer functions added from Excel 4 on are a mixed
bag. Some require array entry (the newer stats functions), some don't
(see the 4 above).