Note: The other languages of the website are Google-translated. Back to English
English English

How To Calculate the Percentage of Yes and No Ignoring N/A in Excel?

In Excel, a data range contains the values Yes, No, and N/A. You want to get the percentage of Yes and No separately, without taking N/A into account. It means that the value N/A won’t impact the calculation of the total combined rate of Yes and No, which will be 1. What should you do? Don’t worry. This article will show you how to get the job done.
doc calculate-yes-no-ignore-na 1

Calculate the Percentage of Yes and No Ignoring N/A with Formula


Calculate the Percentage of Yes and No Ignoring N/A with Formula

To get the percentage of Yes and No separately, excluding N/A in the calculation, please do as follows.

1. Please copy the formula below into cell C2, then press the Enter key to get the result.

=COUNTIF(A2:A15,"Yes")/(COUNTIF(A2:A15,"Yes")+COUNTIF(A2:A15,"No"))

doc calculate-yes-no-ignore-na 2

2. Format the result as percentage. Right-click the result cell and click Format Cells from the menu list. In the Format Cells dialog box, click Percentage in Category section under the Number tab, specify the decimal places as you need and then click OK.
doc calculate-yes-no-ignore-na 3

3. Then you will get the result in percentage format.
doc calculate-yes-no-ignore-na 4

Note:

To get the rate of No in the list, please apply the below formula in cell D2 and change the result format to percentage.

=COUNTIF(A2:A15,"No")/(COUNTIF(A2:A15,"Yes")+COUNTIF(A2:A15,"No"))

doc calculate-yes-no-ignore-na 5


Other Operations (Articles)

HHow To Calculate Original Price From Percentage Discount In Excel?
Supposing, I have a list of tasks with start date and end date, now, I want to calculate the percentage of completion of the task based on today’s date as the following screenshot shown. How could you solve this job in Excel?

How To Calculate The Percentage Between Two Dates In Excel?
Supposing, I have a list of tasks with start date and end date, now, I want to calculate the percentage of completion of the task based on today’s date as the following screenshot shown. How could you solve this job in Excel?

How To Calculate Or Get Percentage Of Total In Excel?
If you have a list of sale orders for each month, and you have calculated the total orders for these months, now, you want to get the percentage of each month based on the total, how could you solve this job in Excel?

How To Calculate Percentage Change Or Difference Between Two Numbers In Excel?
This article is talking about calculating percentage change or difference between two numbers in Excel.



  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns and Keeping Data; Split Cells Content; Combine Duplicate Rows and Sum/Average... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Favorite and Quickly Insert Formulas, Ranges, Charts and Pictures; Encrypt Cells with password; Create Mailing List and send emails...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • Pivot Table Grouping by week number, day of week and more... Show Unlocked, Locked Cells by different colors; Highlight Cells That Have Formula/Name...
kte tab 201905
  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom

 

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations