help with percentage of yes or no's

S

sschadel

I have a spread sheet where a question is answered with a yes or no how
do i convert that into a percentage for the entire row?

a1 complete?
a2 yes
a3 no
a4 no
a5 no
a6 percent complete
a7 25%

does this make sense?
 
D

Dallman Ross

In <[email protected]>,
I have a spread sheet where a question is answered with a yes or
no how do i convert that into a percentage for the entire row?

a1 complete?
a2 yes
a3 no
a4 no
a5 no
a6 percent complete
a7 25%

Here's one way for A7:

=COUNTIF(A2:A5,"yes")/COUNTIF(A2:A5,"*")

Format A7 as type "percent."

Dallman
 
J

JLatham

In A7:
=COUNTIF(A2:A5,"Yes")/ROWS(A2:A5)
that's one of several ways to do it,
the COUNTIF() is the way to count "Yes" entries in the range, while ROWS()
will give you a total count of the range whether they are Yes, No or empty.
 
S

sschadel

wow thank you i really did not expect anyone to take the time to help.
at least not that fast! it worked perfectly
thanks again..
 
J

JLatham

Glad to have helped, Dallman's solution would have worked also.

If you find help offered here actually helpful, people really appreciate you
giving feed back using the [yes][no] buttons on their postings?
 
T

Tom Ogilvy

Since sschadel didn't post in the microsoft communities I am sure he has no
idea what your are talking about with respect to yes and no buttons. This
should be visible to you in the communities interface.

--
regards,
Tom Ogilvy

JLatham said:
Glad to have helped, Dallman's solution would have worked also.

If you find help offered here actually helpful, people really appreciate
you
giving feed back using the [yes][no] buttons on their postings?

wow thank you i really did not expect anyone to take the time to help.
at least not that fast! it worked perfectly
thanks again..
 
J

JLatham

My lack of attention to detail showing again!

And apologies to sschadel if I seemed rude. Did not mean to be. The thanks
he gave was sufficient, I just kind of figure is someone sees the green check
here at the Microsoft place, then they can pass it by and help another
deserving soul.

I'll try to pay more attention in the future. And again, sincere apologies
to sschadel.

JLatham

Tom Ogilvy said:
Since sschadel didn't post in the microsoft communities I am sure he has no
idea what your are talking about with respect to yes and no buttons. This
should be visible to you in the communities interface.

--
regards,
Tom Ogilvy

JLatham said:
Glad to have helped, Dallman's solution would have worked also.

If you find help offered here actually helpful, people really appreciate
you
giving feed back using the [yes][no] buttons on their postings?

wow thank you i really did not expect anyone to take the time to help.
at least not that fast! it worked perfectly
thanks again..
JLatham wrote:
In A7:
=COUNTIF(A2:A5,"Yes")/ROWS(A2:A5)
that's one of several ways to do it,
the COUNTIF() is the way to count "Yes" entries in the range, while
ROWS()
will give you a total count of the range whether they are Yes, No or
empty.

:

I have a spread sheet where a question is answered with a yes or no
how
do i convert that into a percentage for the entire row?

a1 complete?
a2 yes
a3 no
a4 no
a5 no
a6 percent complete
a7 25%

does this make sense?
 

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