Counting entries?

marystewart78

Registered User.
Local time
Today, 10:35
Joined
Aug 16, 2005
Messages
30
Hi folks,

Working in a report - trying to get it to count entries in a field depending on input - like the countif function in excel ie count entries if they read "Attended" and so on - how do I do this???

Many Thanks,

Mary
 
In the group or report footer, depending on where you want the counts, you can put this in the textbox's controlsource:
Code:
=Count(IIf([YourFieldNameHere]="Attended",1,0))
And, this should yield the same results:
Code:
=Sum(IIf([YourFieldNameHere]="Attended",1,0))
 

Users who are viewing this thread

Back
Top Bottom