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

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
=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,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

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