The Grim Discovery
Board Regular
- Joined
- Jan 23, 2015
- Messages
- 244
- Office Version
- 365
- Platform
- Windows
Hello folks
This is crazing me.
As you'll see the formula below works out the percentage of counts of 'yes' against a total of counts of 'yes' and 'no' in the range of D13:D16. So far so ok.
=SUM(COUNTIF(D13:D16,"Yes")/(COUNTIF(D13:D16,"Yes")+COUNTIF(D13:D16,"No")))
[So if D13:D15 ="yes" and D16='"no" I'd get a result of 75%.]
But I want to extend the range to D13:D17 but where in D17 a 'No' effectively counts as a 'Yes' and vice versa. Each time I try and bolt this into the formula it all goes awry and doesn't return a correct % result. If anyone can a) make sense of this query and b) give me a hand, it would be appreciated.
Thanks
This is crazing me.
As you'll see the formula below works out the percentage of counts of 'yes' against a total of counts of 'yes' and 'no' in the range of D13:D16. So far so ok.
=SUM(COUNTIF(D13:D16,"Yes")/(COUNTIF(D13:D16,"Yes")+COUNTIF(D13:D16,"No")))
[So if D13:D15 ="yes" and D16='"no" I'd get a result of 75%.]
But I want to extend the range to D13:D17 but where in D17 a 'No' effectively counts as a 'Yes' and vice versa. Each time I try and bolt this into the formula it all goes awry and doesn't return a correct % result. If anyone can a) make sense of this query and b) give me a hand, it would be appreciated.
Thanks