Problems changing array field in formula
=MAX(IF((Name="Jon")*(Category=B"),Spend))
etc.
which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.
Excel will automatically enclose the formula in braces (curly brackets), do
not try to do this manually.
When editing the formula, it must again be array-entered.
--
HTH
Bob
(there's no email, no snail mail, but somewhere should be gmail in my addy)
"Harry Seymour" wrote in message
...
this is now solved.
Another question however,
in a similar manner is there a way to find the maximum, minimum and
average
numbers within the identified fields.
e.g.
Max.....of (--(Name="Jon"),--(Category=B"),Spend)
thanks
Harry
"Harry Seymour" wrote:
I've created a formula
=SUMPRODUCT(--(Name="Jon"),--(Category=B"),Spend)
which sums the spend when columns name = Jon and category = B.
I've now changed the "Spend" array to "SpendVol" array (which represents
a
new column)
therefore use
=SUMPRODUCT(--(Name="Jon"),--(Category=B"),SpendVol)
But this returns #VALUE.
This makes no sense as its the same formula just accessing a different
column.
Does anyone know why this would return this value or if there are any
bugs
that can occur in a file that would cause this.
Thanks
Harry
|