Hi there,
I am having some trouble using the COUNTIFS function. I want to determine whether a certain combination of responses occurs in cell pairs. For example:
= SUM(COUNTIFS('P2'!B7,{"Sometimes","Often","Always"}, 'P2'!C7,{"Sometimes","Often","Always"}))
When I try the formula in full, like the above, I get an output of 0 when it should really be 1. When I break the formula down into SUM(COUNTIFS('P2'!B7,{"Sometimes","Often","Always"})) and SUM(COUNTIFS('P2'!C7,{"Sometimes","Often","Always"})) - I get an output of 1 for each.
The full formula has worked elsewhere in my spreadsheet, so I'm really confused as to what's happening. I have checked for spaces etc, and it all came back fine.
Any help would be very much appreciated!
I am having some trouble using the COUNTIFS function. I want to determine whether a certain combination of responses occurs in cell pairs. For example:
= SUM(COUNTIFS('P2'!B7,{"Sometimes","Often","Always"}, 'P2'!C7,{"Sometimes","Often","Always"}))
When I try the formula in full, like the above, I get an output of 0 when it should really be 1. When I break the formula down into SUM(COUNTIFS('P2'!B7,{"Sometimes","Often","Always"})) and SUM(COUNTIFS('P2'!C7,{"Sometimes","Often","Always"})) - I get an output of 1 for each.
The full formula has worked elsewhere in my spreadsheet, so I'm really confused as to what's happening. I have checked for spaces etc, and it all came back fine.
Any help would be very much appreciated!