Which Formula to use in Excel 2013 for Calculating yes/no into %

Droiyan3

New Member
Joined
Jan 20, 2017
Messages
4
Dear MRExcel Forum!
Thanks for having me here! i am an Technical Support Engineer and to be honest i find using excel in my day to day job as super valuable - its the best :)

I have constructed a questionnaire( 17 questions ) for my peers to answer for which the response can be either Yes,NO, or NA in ( C13:C34) . I used a data validation to allow them select only one of those 3 choices .


For column C35 i would like it to the following logic: Sum up all the Yes and substract all the NO's and then show me in percentage the result. If there is N/A then dont use it for calculation.

I am a super beginner in formulas and was thinking of using something like sumif but i am not sure even after watching the training how to make it use that.

I would be grateful if anyone would have some tips ? :)

thanks a lot
Droiyan3:LOL:
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
so an example would be : if out of 17 questions , 1 is NA, 14 are yes and 2 are no then we should find out how much is 14 questions in % out of 16 ? in this case it would be 87.5

thank you
 
Upvote 0
Try:
Code:
=COUNTIF(C13:C34,"Yes")/(COUNTIF(C13:C34,"Yes")+COUNTIF(C13:C34,"No"))
 
Upvote 0
I interpret the OP request "Sum up all the Yes and substract all the NO's and then show me in percentage the result."

to be (number of Yes - number of No) / (total Yes + total No)

the formula =(COUNTIF(C13:C34, "Yes")-COUNTIF(C13:C34, "No")) / (COUNTIF(C13:C34, "Yes")+COUNTIF(C13:C34, "No"))

will do that
 
Upvote 0
I'm not sure Mike. OP states what you say in Post 1, but in Post 2 OP states answer should be 87.5%???
Anyway, one of our formulas should work for him.
 
Upvote 0
Try:
Code:
=COUNTIF(C13:C34,"Yes")/(COUNTIF(C13:C34,"Yes")+COUNTIF(C13:C34,"No"))

apologies for the confusion - your formula was spot on and it drastically reduced my headache ! thank you so much!! both of you for the valuable input! :)




I have a secondary questionnaire that i need to create also an countif formula and would be very great-full if you could assist me on that as well.

The questionnaire has a range is from 10 q =C39:C48 for which i have I have 6 responses which are ( Totally Satisfied, Very Satisfied, Somewhat Satisfied, Neither Satisfied nor Dissatisfied ,Somewhat dissatisfied,Very Dissatisfied ,Totally Dissatisfied .)

Totally Satisfied & Very Satisfied are counted as correct good( yes) response while everything else is counted bad ( no)

I need the formula to sum up all the Totally Satisfied & Very Satisfied and then substract the rest of the responses and show me the value in percentage result. I am assuming that for this we would need to use the countifs​ formula but wasnt so successful with it :D
 
Upvote 0
Excel Workbook
C
39Totally Satisfied
40Very Satisfied
41Totally Satisfied
42Neither Satisfied nor Dissatisfied
43Very Satisfied
44Totally Satisfied
45Very Dissatisfied
46Totally Dissatisfied
47Very Satisfied
48Very Satisfied
49
5070.00%
Sheet
 
Upvote 0

Forum statistics

Threads
1,215,425
Messages
6,124,825
Members
449,190
Latest member
rscraig11

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