Report Total using where clause

boycie

Registered User.
Local time
Today, 17:45
Joined
Sep 19, 2001
Messages
45
Hi,
I am trying to create a total in the footer by summing up fields in the detail area using a certain criteria. For example; The report has 3 fields: Name,Job Title, Days Worked. I want to sum all days worked "where Job Title = Gardener for example.
Can anyone help?
thanks
 
Try

=Sum(IIf([Job Title] = "Gardener", [Days Worked], 0))
 
Thanks Paul, that worked great!
 

Users who are viewing this thread

Back
Top Bottom