Working out percentages % !?!

samc80

New Member
Joined
May 10, 2011
Messages
10
Hi All,

This may seem like a really simple Q to some, but I cannot work it out for the life of me so am asking the experts for help :)

Is there anway for me to set up a formula that will show the percentage of how many times I have entered a value in a cell.

E.g If I have a column populated with Yes or No. Can I ask Excel to tell me the percentage of how many times Yes been entered??

So if I have 5 Y's and 5 N's (yes I know this is very simple and the answer is 50% !!) can I put something in to tell me what the percentage out of the total number of entries entered is Yes??

Sorry if this is really stupid :nya:

Thanks,
Sam
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Try like this - format the result cell as %

=COUNTIF(A1:A10,"Yes")/COUNTA(A1:A10)
 
Upvote 0
Excel Workbook
KL
51Yes
52Yes
53Yes
54No57.89%
55No45.83%
56No
57No
58Yes
59Yes
60Yes
61Yes
62No
63No
64No
65Yes
66Yes
67No
68
69
70
71
72
73Yes
74Yes
Sheet


both cells fomatted as %.
The L54 formula gives the percentage of Yes v. No, ignoring any other cells in the range, be they empty or contain something else.
The L55 one gives the percentage of Yes in the whole range, counting anything none Yes as part of the equation.

…and I've just seen VoG's which will perhaps give a different result again being the percentage of Yes in the non-blank cells of the range. It all depends on what's in the range to be analysed.
 
Last edited:
Upvote 0
Hi All,

This may seem like a really simple Q to some, but I cannot work it out for the life of me so am asking the experts for help :)

Is there anway for me to set up a formula that will show the percentage of how many times I have entered a value in a cell.

E.g If I have a column populated with Yes or No. Can I ask Excel to tell me the percentage of how many times Yes been entered??

So if I have 5 Y's and 5 N's (yes I know this is very simple and the answer is 50% !!) can I put something in to tell me what the percentage out of the total number of entries entered is Yes??

Sorry if this is really stupid :nya:

Thanks,
Sam

=COUNTIF(A1:A20,"YES")/COUNTA(A1:A20)

Where A1:A20 is your column with the Yes/No in it, then format as percentage.
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,903
Members
452,948
Latest member
Dupuhini

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