Percentage formula?

Closed
Denise Cheffins Posts 3 Registration date Monday 4 March 2013 Status Member Last seen 5 March 2013 - 5 Mar 2013 à 20:43
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 6 Mar 2013 à 00:22
Hello,


I have a column in a Micosoft Excel spreadsheet that contains Yes & No answers.
Can anyone please tell me how do I find out how many Yes answers I have compared as a percentage, to the total number of Yes & No answers in the column.
Is this done via a chart, pivot table or a formula at the bottom of the column and how?
Any help is much appreicated.

Many thanks

2 responses

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
5 Mar 2013 à 23:27
If you only have YES and NO
then
=COUNTIF(A:A,"NO")/COUNTA(A:A)


if you have YES, NO and some other text then
=COUNTIF(A:A,"NO")/(COUNTIF(A:A,"NO") + COUNTIF(A:A,"YES"))

Format as Percentage
Denise Cheffins Posts 3 Registration date Monday 4 March 2013 Status Member Last seen 5 March 2013
5 Mar 2013 à 23:32
Thanks for this I have not had a lot to do with forumlas in excel except for the basic ones.
And yes there are blanks in the column as well as yes or no answers.
I will give it a go as soon as I can and let you know how I go.

Again many thanks
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
6 Mar 2013 à 00:22
if all you have Yes, no and blank then use first one