Excel formula to calculate percentage completion

collinsc

Board Regular
Joined
Sep 13, 2006
Messages
240
Hi
I would appreciate some help to create a formula...

I want to use the Y and N in Col B to calculate 2 totals...
1) How many are complete (as per Row 5) e.g. 2 of 4 = Y
2) The perecentage of the above calculation (as per row 6)

ColA ColB
Row 1 Item 1 Y
Row 2 Item 2 N
Row 3 Item 3 N
Row 4 Item 4 Y
Row 5 Total 2/4
Row 6 % 50%

Many thanks
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
=Countif(B1:B4,"Y")/((Countif(B1:B4,"Y")+Countif(B1:B4,"N"))
will give the Percent Y against all rows with a Y or N

=Countif(B1:B4,"Y")&" / "&((Countif(B1:B4,"Y")+Countif(B1:B4,"N"))&" = Y"
will give the text
2 of 4 = Y
 
Upvote 0

Forum statistics

Threads
1,215,457
Messages
6,124,941
Members
449,198
Latest member
MhammadishaqKhan

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