Calculate percentage on multiple columns in 1 cell

Louis1983

New Member
Joined
Sep 20, 2017
Messages
8
Hi

Please can you assist me, I need to work out a total percentage "Yes" in the below colums. If I use the countif formula it only works on 1 column (B) but it needs to calculate column B + D + F.

Column AColumn BColumn CColumn DColumn EColumn F
Updated scheduleYescorrectlyNO
ComprehensivelyNO
breakdown scheduleNO
B/D per km

<tbody>
</tbody>
NOcorrectlyNOhit rateNO
Total Percentage

<tbody>
</tbody>

Yes /NO

<tbody>
</tbody>
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try this.

=(COUNTIF(B2:B6,"Yes")+COUNTIF(D2:D6,"Yes")+COUNTIF(F2:F6,"Yes"))/(COUNTA(B2:B6)+COUNTA(D2:D6)+COUNTA(F2:F6))

you can change the range
 
Upvote 0
Hi,

Maybe this:


Book1
ABCDEF
1Updated scheduleYescorrectlyNO
2ComprehensivelyNO
3breakdown scheduleNO
4B/D per kmNOcorrectlyNOhit rateNO
5
6
7Total Percentage
8
9Yes /NO16.67%
Sheet74
Cell Formulas
RangeFormula
B9=COUNTIF(B1:F4,"Yes")/COUNTIF(B1:F4,"No")


B9 formatted as "percentage"
 
Upvote 0

Forum statistics

Threads
1,215,910
Messages
6,127,681
Members
449,397
Latest member
Bastbog

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