Using the COUNT function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a column with entries of "YES" and "NO" I need to prepare a query to
count the no of YES AND NO'S in this column.
Please help!!!!
Thanks
 
I have a column with entries of "YES" and "NO" I need to prepare a query to
count the no of YES AND NO'S in this column.
Please help!!!!
Thanks

Is it a Check box field Yes/No or a Text datatype field "Yes"/"No"?

Check box field:
=Abs(Sum([CheckBoxName]))

If it is a Text datatype field "Yes" or "No":
=Sum(IIf([FieldName]="Yes",1,0))
 

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

Back
Top