Total's on A Report

A

Amanda Laughlin

Good Morning,

I am adding total's to a report that I am working on. And
one of my control's is a yes/no field. Does anyone know
how to calculate the total for only the yes's?

Any suggestions welcome, thanks in advance.

Amanda
 
M

Marshall Barton

Amanda said:
I am adding total's to a report that I am working on. And
one of my control's is a yes/no field. Does anyone know
how to calculate the total for only the yes's?

Use any of the following expressions in the report footer's
text box:

=Count(IIf(yesnofield, 1, Null)

=Sum(IIf(yesnofield, 1, 0)

=Abs(Sum(yesnofield))

the above are in descending order of clarity and ascending
order of speed.
 

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