ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   need to assign a nomber to yes such as y=1 to run a count ? excel (https://www.excelbanter.com/new-users-excel/163249-need-assign-nomber-yes-such-y%3D1-run-count-excel.html)

richard V

need to assign a nomber to yes such as y=1 to run a count ? excel
 
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

OssieMac

need to assign a nomber to yes such as y=1 to run a count ? excel
 
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



"richard V" wrote:

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


OssieMac

need to assign a nomber to yes such as y=1 to run a count ? ex
 
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



richard V[_2_]

need to assign a nomber to yes such as y=1 to run a count ? ex
 
OssieMac
Thanks that worked great and I learend about COUNTIF
so once more thank you
Richard

"OssieMac" wrote:

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




All times are GMT +1. The time now is 11:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com