count and percentages

Copper Contributor

Please see attached example. Each column can have a range of results of either "Yes", "No" or "NA". Row 23 is supposed to give the total % complete (ie the Number of "Yes" plus the number of "NA" compared to the total number of rows). Whoever done the formula has simply counted the rows, multiplied by 10 and then formatted the answer as a %, which is giving some strange results (Cell F23 shows 210%?).

 

I started a countifs formula to count the number of Yes's and NA's, but not sure how to turn the result into a % of the total number of rows.

2 Replies

@steelem292 

In B23:

=COUNTIF(Table1[Is the clinical indication stated in the patients record?],"<>NO")/COUNTA(Table1[Is the clinical indication stated in the patients record?])

Fill to the right.

The result will be 100% in all columns, since there are no NO replies in your sample workbook.

thank you @Hans Vogelaar. That has worked a treat.