View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Dallman Ross Dallman Ross is offline
external usenet poster
 
Posts: 390
Default help with percentage of yes or no's

In . com,
spake thusly:

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