F
formula1
how can I return the text value of a cell useing"sumif" formula
The *asterisk* form of Sumproduct will recognize text numbers, where as the
unary form will not.
If A1:A50 are "text" numbers,
=SUMPRODUCT((B1:B50="CAT")*A1:A50)
*Will* total Column A
Where as,
=SUMPRODUCT(--(B1:B50="CAT"),A1:A50)
Will *not*!
Ragdyer said:BUT ... I guess it can be coerced, with an *additional* set of unarys:
=SUMPRODUCT(--(B1:B50="CAT"),--A1:A50)
Ragdyer said:With the "if" in the OP, I do believe that some sort of condition is
supposed to be met.