Ron Rosenfeld said:
HELP lists the functions that work that way:
SUM . . .
AVERAGE . . .
AVERAGEA . . .
COUNT . . .
COUNTA . . .
MAX . . .
MAXA . . .
MIN . . .
MINA . . .
PRODUCT . . .
STDEV . . .
STDEVA . . .
STDEVP . . .
STDEVPA . . .
VAR . . .
VARA . . .
VARP . . .
VARPA . . .
....
And a fine time this is to repeat something that every Excel user should
know: Bill Gates hasn't gotten rich by wasting money keeping his programs'
documentation up to date or accurate. In addition to the functions listed
above, a bit of simple testing will show that there are several other
functions that take 3D references.
AVEDEV
DEVSQ
GEOMEAN
HARMEAN
KURT
MEDIAN
NPV
RANK
SKEW
SUMSQ
But, oddly, MODE doesn't work with 3D references. My cynical mind has leapt
to the conclusion that the individual who originally implemented MODE just
wasn't as competent as the one who implemented RANK.
Note especially NPV, which is the only order-dependent one of all the
functions that accept 3D references.
You should address that question to the designers of the program.
This is a user group.
Oh right. As if anyone in Microsoft gives a damn for consistency or adding
*calculation* features to Excel rather than shovelling on more generic
Office UI excreta. How many Excel versions has it now been in which
Microsoft hasn't added any new worksheet functions?
As for the specific issue of SUMIF/COUNTIF not supporting 3D references, for
some obscure reason Microsoft chose to require that the 1st arguments to
both and the 3rd argument to SUMIF be Ranges. Note the capital in Ranges.
Both functions seem to restrict operation to the intersection of these
argument Ranges and their parent worksheets' used ranges. This allows users
to specify entire column ranges without adversely affecting recalculation
speed. However, it reduces flexibility and scope for these functions.
Also note that 3D refeences are *NOT* Ranges in the sense of Range objects,
and neither are they collections of Range objects. They are syntactic
constructs that the formula parser almost certainly shunts off to a
specialized iterator that most functions can't access. This was Microsoft's
chicken wire and bubble gum solution to simulating true 3D spreadsheet
functionality. Get used to it.