انتقل إلى المحتوى الرئيسي

كيف تحسب نسبة نعم ولا من قائمة في إكسيل؟

كيف يمكنك حساب النسبة المئوية بنعم ولا نص من قائمة خلايا النطاق في ورقة عمل 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 عبر أوراق متعددة   |   بحث غامض ....
قائمة منسدلة متقدمة: إنشاء القائمة المنسدلة بسرعة   |  القائمة المنسدلة التابعة   |  قائمة منسدلة متعددة التحديد ....
مدير العمود: إضافة عدد محدد من الأعمدة  |  نقل الأعمدة  |  تبديل حالة رؤية الأعمدة المخفية  |  مقارنة النطاقات والأعمدة 
الميزات المميزة: التركيز على الشبكة   |  عرض تصميم   |   شريط الفورمولا الكبير    مدير المصنفات والأوراق   |  مكتبة الموارد (النص السيارات)   |  منتقي التاريخ   |  اجمع أوراق العمل   |  تشفير/فك تشفير الخلايا    إرسال رسائل البريد الإلكتروني عن طريق القائمة   |  سوبر تصفية   |   مرشح خاص (تصفية غامق / مائل / يتوسطه خط ...) ...
أفضل 15 مجموعة أدوات12 نص الأدوات (إضافة نص, إزالة الأحرف، ...)   |   +50 رسم الأنواع (مخطط جانت، ...)   |   40+ عملي الصيغ (احسب العمر على أساس تاريخ الميلاد، ...)   |   19 إدخال الأدوات (أدخل رمز الاستجابة السريعة, إدراج صورة من المسار، ...)   |   12 تحويل الأدوات (أرقام إلى كلمات, نتيجة تحويل عملة، ...)   |   7 دمج وتقسيم الأدوات (الجمع بين الصفوف المتقدمة, تقسيم الخلايا، ...)   |   ... و اكثر

عزز مهاراتك في Excel باستخدام Kutools for Excel، واختبر كفاءة لم يسبق لها مثيل. يقدم Kutools for Excel أكثر من 300 ميزة متقدمة لتعزيز الإنتاجية وتوفير الوقت.  انقر هنا للحصول على الميزة التي تحتاجها أكثر...

الوصف


يجلب Office Tab الواجهة المبوبة إلى Office ، ويجعل عملك أسهل بكثير

  • تمكين التحرير والقراءة المبوبة في Word و Excel و PowerPointوالناشر والوصول و Visio والمشروع.
  • فتح وإنشاء مستندات متعددة في علامات تبويب جديدة من نفس النافذة ، بدلاً من النوافذ الجديدة.
  • يزيد من إنتاجيتك بنسبة 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