sherifhanna82
New Member
- Joined
- Feb 26, 2011
- Messages
- 4
Hello everyone,
I am trying to use the Count & Sum if functions, if the criteria range contains one or more value from a set of strings.
Example:
I want to sum the numbers in the A column, if the any of the cells in the B column contain X or Y or Z. So, it would look something like this:
=sumif(B:B,"x" ? "y" ? "z",A:A). I want the formula to return the sum of the cells adjacent to those who have X, Y, or Z, but not necessarily all of them together. The ? sign indicates the operator/sign I am missing.
Thanks for your input.
Sherif.
I am trying to use the Count & Sum if functions, if the criteria range contains one or more value from a set of strings.
Example:
I want to sum the numbers in the A column, if the any of the cells in the B column contain X or Y or Z. So, it would look something like this:
=sumif(B:B,"x" ? "y" ? "z",A:A). I want the formula to return the sum of the cells adjacent to those who have X, Y, or Z, but not necessarily all of them together. The ? sign indicates the operator/sign I am missing.
Thanks for your input.
Sherif.
Last edited: