Counting on the Yes and not the No, pivot table question

sunshne900

New Member
Joined
Oct 12, 2013
Messages
1
Hi everyone,
I have a table and I want it to count only the yes, and not the no, how do I do that?


Thank you for the help.
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
what I have done in the past is to create a new column in the table
If( Cell = "yes", 1, 0)


and then used that column and used sum


or you should be able to count and then use filter the for yes



Excel Workbook
AB
1QuestionAnswer
21yes
32no
43no
54no
65yes
76yes
87yes
98yes
109no
1110no
1211no
Sheet1



Excel Workbook
AB
1
2Answeryes
3
4Row LabelsCount of Answer
511
651
761
871
981
10Grand Total5
11
Sheet4
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,958
Messages
6,175,643
Members
452,663
Latest member
MEMEH

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