G
Guest
how can I return the text value of a cell useing"sumif" formula
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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.
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*!
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*!
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.