Calculatinng Percentages

agnerc

New Member
Joined
Jun 18, 2018
Messages
13
I need some help calculating percentages.

I have 30 rows, each row may hve a 1 or 0. I would like to calculate the percentage of 1's out of the 30 rows.

I am essentially using this as an on time delivery.

I get the 1 and 0 by comparing dates, if my start date is greater than my finish date then it get s 1, else a 0.

Thank you,
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
One way (assuming your 1's and 0's are in A1:A30):
Code:
=SUM(A1:A30)/COUNT(A1:A30)
format the cell holding this formula as percentage
 
Upvote 0
Assume your 1s and 0's are in column A, then in A31 =COUNTIF($A$1:$A$30,1)/30
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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