Results Similar to COUNTIF

  • Thread starter Thread starter Gord
  • Start date Start date
G

Gord

So i want to run a command aganist a list of items simlar to the
COUNTIF function in Excel.

How easy is this to do?
 
On Sat, 2 Aug 2008 10:11:11 -0700 (PDT), Gord <[email protected]>
wrote:

Very easy:
select count(*)
from SomeTable
where SomeField = SomeValue

-Tom.
Microsoft Access MVP
 
So i want to run a command aganist a list of items simlar to the
COUNTIF function in Excel.

How easy is this to do?

=Sum(IIf([ControlName] = somecriteria,1,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

Back
Top