This should be simple. I cam do it easily in Excel, but it isn’t making the jump. I have a database tracking the status of a fleet of trucks, including various scheduled maintenance services. I have a query that polls all the services (quarterly, semi-annual, annual), and lists the tolerance due dates for the service. Then I have a report, where I want to include some basic totals: How many of each kind of vehicle is in the shop, how many are due for each kind of service.
The trouble comes from counting the status. “In shop” could be 10%, 50%, 90% complete. So I’m trying to get a count() formula to use a wildcard. This one doesn’t work:
=Count(IIf([Status] = "In Shop*",1,0))
That asterisk gets me every item in the field, blanks or no.
How about this (EDIT: I believe you actually want to use the
SUMfunction here, notCOUNT):