메인 컨텐츠로 가기

Excel의 목록에서 예 및 아니요의 백분율을 계산하는 방법은 무엇입니까?

Excel 워크 시트의 범위 셀 목록에서 예 및 아니요 텍스트의 백분율을 어떻게 계산할 수 있습니까? 아마도이 기사가 그 일을 처리하는 데 도움이 될 것입니다.

수식을 사용하여 셀 목록에서 예 및 아니요의 백분율을 계산합니다.


수식을 사용하여 셀 목록에서 예 및 아니요의 백분율을 계산합니다.

셀 목록에서 특정 텍스트의 백분율을 얻으려면 다음 수식이 도움이 될 수 있습니다. 다음과 같이하십시오.

1. 다음 공식을 입력하십시오. =COUNTIF(B2:B15,"Yes")/COUNTA(B2:B15) 결과를 얻으려는 빈 셀에 넣은 다음 엔터 버튼 십진수로, 스크린 샷 참조 :

예 1 당 문서

2. 그런 다음이 셀 형식을 퍼센트로 변경하면 필요한 결과를 얻을 수 있습니다. 스크린 샷을 참조하십시오.

예 2 당 문서

노트:

1. 위 공식에서B2 : B15 백분율을 계산하려는 특정 텍스트가 포함 된 셀 목록입니다.

2. 텍스트가없는 비율을 계산하려면 다음 공식을 적용하십시오. =COUNTIF(B2:B15,"No")/COUNTA(B2:B15).

예 3 당 문서

최고의 사무 생산성 도구

🤖 Kutools AI 보좌관: 다음을 기반으로 데이터 분석을 혁신합니다. 지능형 실행   |  코드 생성  |  사용자 정의 수식 만들기  |  데이터 분석 및 차트 생성  |  Kutools 기능 호출...
인기 기능: 중복 항목 찾기, 강조 표시 또는 식별   |  빈 행 삭제   |  데이터 손실 없이 열이나 셀 결합   |   수식없이 반올림 ...
슈퍼 조회: 다중 기준 VLookup    다중 값 VLookup  |   여러 시트에 걸친 VLookup   |   퍼지 조회 ....
고급 드롭다운 목록: 드롭다운 목록을 빠르게 생성   |  종속 드롭다운 목록   |  다중 선택 드롭 다운 목록 ....
열 관리자: 특정 개수의 열 추가  |  열 이동  |  Toggle 숨겨진 열의 가시성 상태  |  범위 및 열 비교 ...
특색 지어진 특징: 그리드 포커스   |  디자인보기   |   큰 수식 바    통합 문서 및 시트 관리자   |  리소스 라이브러리 (자동 텍스트)   |  날짜 선택기   |  워크 시트 결합   |  셀 암호화/해독    목록으로 이메일 보내기   |  슈퍼 필터   |   특수 필터 (굵게/기울임꼴/취소선 필터링...) ...
상위 15개 도구 세트12 본문 도구 (텍스트 추가, 문자 제거,...)   |   50+ 거래차트 유형 (Gantt 차트,...)   |   40+ 실용 방식 (생일을 기준으로 나이 계산,...)   |   19 삽입 도구 (QR 코드 삽입, 경로에서 그림 삽입,...)   |   12 매출 상승 도구 (숫자를 단어로, 환율,...)   |   7 병합 및 분할 도구 (고급 결합 행, 셀 분할,...)   |   ... 그리고 더

Excel용 Kutools로 Excel 기술을 강화하고 이전과는 전혀 다른 효율성을 경험해 보세요. Excel용 Kutools는 생산성을 높이고 시간을 절약하기 위해 300개 이상의 고급 기능을 제공합니다.  가장 필요한 기능을 얻으려면 여기를 클릭하십시오...

상품 설명


Office Tab은 Office에 탭 인터페이스를 제공하여 작업을 훨씬 쉽게 만듭니다.

  • Word, Excel, PowerPoint에서 탭 편집 및 읽기 사용, Publisher, Access, Visio 및 Project.
  • 새 창이 아닌 동일한 창의 새 탭에서 여러 문서를 열고 만듭니다.
  • 생산성을 50% 높이고 매일 수백 번의 마우스 클릭을 줄입니다!
Comments (19)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
i'm trying to use this formula, but some how it keeps gettings stuck on the dividing part.
=AANTAL.ALS(K3:K85;"yes")/AANTALARG(K3:K85,"yes")

AANTAL.ALS= COUNTIF
AANTALARG= COUNTA
what is wrong with the formula?
This comment was minimized by the moderator on the site
I am want to use a function that calculate a rate of 1 to 5 using a percentage of each cell if the answer is yes. Rate = (country x 25%)+(role x 25%) + (age x 25%) + ( risk x 25%)
This comment was minimized by the moderator on the site
Hello,

I am looking to get a percentage of cells populated in a column. I have built a tracking sheet for a project where associates will enter their initials into the cells to show they have completed that task. I would like to show a percentage of tasks completed if that makes sense?

Thanks,
This comment was minimized by the moderator on the site
Hi Mandy,

How do you use this formula =COUNTIF(B2:B15,"Yes")/COUNTA(B2:B15)

But to fetch data across multiple Sheets? For example I am looking for the word 'Yes' in a second sheet and third sheet but would like to populate the result on the first sheet.

Thank
Jas
This comment was minimized by the moderator on the site
Hello, Jas
If you want to get the percentage of Yes from multiple sheets, may be the below formula can help you:

=(COUNTIF(Sheet2!B2:B15,"Yes")+COUNTIF(Sheet3!B2:B15,"Yes"))/(COUNTA(Sheet2!B2:B15)+COUNTA(Sheet3!B2:B15))

But, if you just need to put the result in another sheet, please apply the below formula:
=COUNTIF(Sheet2!B2:B15,"Yes")/COUNTA(Sheet2!B2:B15)

Please have a try, hope it can help you! If you have any other question, please comment here.
This comment was minimized by the moderator on the site
Team Outcome
1 Won
2 lost
4 lost
5 lost
6 Won


=COUNTIF(Table1[[#Headers],[Outcome]],"Lost")/COUNTA(Table1[[#Headers],[Outcome]])

Why does this not work using the Tables parameters ?
This comment was minimized by the moderator on the site
Forgot to mention, this returns 0 no matter the data
This comment was minimized by the moderator on the site
Hello, Dan,
As you said, the formula does not work correctlly in a table format, so, you need to use it in a normal range. Please don't put the formula next to the table, locate it beyond the table, as below screenshot shown:
https://www.extendoffice.com/images/stories/comments/comment-skyyang/lost-percentage.png

Please try, hope it can help you!
This comment was minimized by the moderator on the site
gracias, me sirvió la formula para calcular el % de SI y NO
Rated 5 out of 5
This comment was minimized by the moderator on the site
How do you use the countif when you are trying 3 different criteria to equal a percentage.
Yes/No/NA
NA- should not impact the total combined percentage of Yes/No Answers. Using as an excel audit tool.

=IF(A23="","",COUNTIF(E23:I23,"Yes")/(COUNTIF(E23:I23,"Yes")+COUNTIF(E23:I23,"NO")))

This formula is still decreasing total score when N/A is selected in cell.
This comment was minimized by the moderator on the site
Hello Brandy,
Thanks for your message. In B1:B10, there are 3 different data: Yes/No/NA. To calculate the percentage of the number of Yes of the total number of Yes and No, please input the formula: =IF(B1="","",COUNTIF(B1:B10,"Yes")/(COUNTIF(B1:B10,"Yes")+COUNTIF(B1:B10,"NO"))). You will get the correct result.
Sincerely,
Mandy
This comment was minimized by the moderator on the site
this worked HOWEVER, when I do a sort the % does not change with the sorted data. How can I get the % to change when I sort?
This comment was minimized by the moderator on the site
Hello Nataile,
Glad to help. When you sort the data, you need to change the range in the Countif formula to absolute. Otherwise, the results will be wrong. For example, the first formula in the artical should be changed to: =COUNTIF($B$2:$B$15,"Yes")/COUNTA(B2:B15) . Please have a try.

Sincerely,
Mandy
This comment was minimized by the moderator on the site
Trying to find a way to use the function

=COUNTIF(F3:F17,F21:F35,P3:P17,P21:P35,F39:F53,P39:P53,Z3:Z17,Z21:Z35,Z39:Z53,AJ3:AJ17,AJ21:AJ35,AJ39:AJ53,"No")/COUNTA(F3:F17,F21:F35,P3:P17,P21:P35,F39:F53,P39:P53,Z3:Z17,Z21:Z35,Z39:Z53,AJ3:AJ17,AJ21:AJ35,AJ39:AJ53)
However, it says I can only have 2 arguments. Is there another function I have to use for this many ranges?

Any help is much appreciated!
This comment was minimized by the moderator on the site
Bonjour,

En utilisant votre formule j'arrive a une erreur et rien n'apparait est-ce normal ? d'autant plus que j'ai bien entré la formule ..
Pouvez vous m'aider svp ?
Merci
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations