Getting Percent values from text

Codith

New Member
Joined
Sep 30, 2011
Messages
2
Hey guys need some help on a problem.


I'm trying to do some percentage values on text and I'm having trouble finishing it off


-Basically I have a Column with 50 rows
-Each row will consist of the text YES or NO
-I need to get some percentage values of both YES and NO for the column


I can COUNTIF the Yes and No, but how do I get the percentage of the yes's and no's without it taking into consideration all the empty rows in the column

So like

Yes
No
Yes
Yes
No
empty row
Yes
No
empty row

4 Yes / 3 No / 2 Empty so I want the percentage of Yes 4/7 formulated (4Yes+3NO)
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
If the empty rows are actuually blank

=countif(a1:a50, "yes") / counta(a1:a50)
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,254
Members
452,900
Latest member
LisaGo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top