Counting fields

G

Guest

I am trying to create a formula to count the number of records that show a
comp ratio of greater than 80%. Comp ratio is a field name and show a result
of two fields already thru a query. This is what I have in the control
source field=Count([Comp Ratio]>80).
Please Help!!!!! :(
 
M

Marshall Barton

Charlotte said:
I am trying to create a formula to count the number of records that show a
comp ratio of greater than 80%. Comp ratio is a field name and show a result
of two fields already thru a query. This is what I have in the control
source field=Count([Comp Ratio]>80).


COunt counts any value that is not Null, so your expression
counts every record. Try this:

=ABS(SUM([Comp Ratio]>80))

which works because True is -1 and False is 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

Top