View Single Post
  #5   Report Post  
cashgrfx
 
Posts: n/a
Default

Thank You very much!! However, I have another question now, is there a way
to show Yes = ? (the number returned by the countif statement) in the cell
with the statment? In other words, instead of just the value showing in the
cell, can I add a "Yes =" and the value appear after the "=" sign? Thanks
again!!

"JulieD" wrote:

Hi

you can use the countif function to return the numbers of "yes" and "no"
e.g.
=COUNTIF(A1:A100,"yes")
will count the number of "yes" answers in the range A1 to A100
likewise,
=COUNTIF(A1:A100,"no")
will count the number of "no" answers in the same range

Hope this helps
Cheers
JulieD

"cashgrfx" wrote in message
...
I am attempting to calculate a number of specific word occurrences. In
example, I have a column with yes in certain cells, and no in the others.
How can I display the total number of yes and no occurrences? I am fairly
new to Excel and know very little about coding in it.