Excel, Percentof row D6:d13 with "Y" expressed in E5

F

FSt1

hi
try this....
=COUNTIF(D6:D13,"y")/COUNTA(D6:D13)

this formula assumes that D6:D13 is all text.
Regards
FSt1
 
S

Sheeloo

FYI - CountA counts cells which are not empty... need not be text.

I think your first post was what was required.
 
M

Magic1

After reading my own question, I realize that I was not clear in what I was
asking.
I have seven (D7:D13) elements that require a level of completion.
Completion is determined by the letter "Y" being entered in the element cell
(D7:D13). I want to show the % level of completion in cell E6

Tks ....
 
P

Pecoflyer

Magic1;351221 said:
After reading my own question, I realize that I was not clear in what I
was
asking.
I have seven (D7:D13) elements that require a level of completion.
Completion is determined by the letter "Y" being entered in the element
cell
(D7:D13). I want to show the % level of completion in cell E6

Tks ....

Another one:
=countif(d6:d13,"y")/columns(d6:d13)
 
M

Magic1

Tks... the below formula gives me 68% completion when it should be 71%. Five
of the seven cells in D6:d13 have "y" entered in each, which gives me a 71%
completion.
 
G

Gord Dibben

D6:D13 is 8 cells, not 7

5/8 is 62.5%

Try this...............=COUNTIF(D6:D13,"y")/ROWS(D6:D13)


Gord Dibben MS Excel MVP


Tks... the below formula gives me 68% completion when it should be 71%. Five
of the seven cells in D6:d13 have "y" entered in each, which gives me a 71%
completion.
 
M

mubashir aziz

I was counting from D6 where your requirements is for from D7. anyhow
i've chenged and you can try it

=COUNTA(D7:D13)/((COUNTBLANK(D7:D13)+COUNTA(D7:D13)))





Magic1;351462 said:
Tks... the below formula gives me 68% completion when it should be 71%.
Five
of the seven cells in D6:d13 have "y" entered in each, which gives me a
71%
completion.


mubashir aziz'
(http://www.thecodecage.com/forumz/member.php?userid=237)
in E5 - The Code Cage Forums'
(http://www.thecodecage.com/forumz/showthread.php?t=97722)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top