need to assign a nomber to yes such as y=1 to run a count ? excel

R

richard V

Iam working on a project with excel 2003, and I am trying to assign a vale
you to yes "yes = 1" and "no = 2" and then good back and add up the yes and
no.

help I have look for about 3hr and cant work it out?
thanks for any ones help
 
O

OssieMac

Hi Richard,

What about using COUNTIF. Assuming that Ye and No are in range A1:A30:-


=COUNTIF(,"Yes")

or

=COUNTIF(A1:A30,"No")

Regards,

OssieMac
 
O

OssieMac

Hi again Richard,

last post is corrupted, Not sure what I did or didn't do. Here is second try.


What about using COUNTIF. Assuming that Yes and No are in range A1:A30:-


=COUNTIF(A1:A30,"Yes")

or

=COUNTIF(A1:A30,"No")

Regards,

OssieMac
 
R

richard V

OssieMac
Thanks that worked great and I learend about COUNTIF
so once more thank you
Richard
 

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