Calculating % based on items filled in a column?

thp510

Board Regular
Joined
Oct 19, 2015
Messages
110
Office Version
  1. 365
Platform
  1. Windows
Hi. Here's an example table below and the column I'm trying to count and calculate. Looking for some help...



A
B
C
D
E
F
Number of A Modules
Number of B Modules
Number of C Modules
Number of D Modules
Number of E Modules
% of Penetration of all Modules
1
550
-
-
-
-
?
2
3
40
355
351
5312
?
3
-
-
-
-
-
?
4
-
30
525
165
33
?
5
-
-
355
-
34
?

<tbody>
</tbody>

There are various numbers across each cell from A1:E5. However, what I would like to do is figure out what equation I can put in cells F1:F5 that can just calculate a % off of whether or not each column is filled in across columns A to columns E. What I mean is, in cell F1 the answer should be 20% since there's one column filled in out of the five across row 1. For F2, it should be 100% since all five columns have a number in it out of the five possibilities. Cell F3 should be 0% since nothing is filled in across all five columns. Cell F4 should be 80% since all columns across row 4 are filled in excel column A. Cell F5 should be 40% since columns "Number of C Modules" and "Number of E Modules" are filled in.

I tried starting it out by creating nested IF and IFBLANK statements but soon lost track as I have to write several dozens to track all the possibilities (I think around 32 possibilities) which is nuts. There's got to be an easier way. Any help?
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
In F2 (I'm presuming the headings are in F1 and the data actually starts in row 2) put =COUNT(A2:E2)/5. Format the answer as a percentage. Copy down.
 
Upvote 0
If the dashes are actually 0s, then use [FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=COUNTIF(A2:E2,">0")/5[/FONT]
 
Upvote 0

Forum statistics

Threads
1,213,484
Messages
6,113,920
Members
448,533
Latest member
thietbibeboiwasaco

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