I want to not count something

G

Guest

I have a report with columns. At the bottom of each column is a count feature
which counts the number of expressions in that column. =Count([Expr2])

Now I want to modify it so that if Expr2 is "SampleText" then it won't count
that. How do I do this?
 
R

Rick Brandt

nycCTM said:
I have a report with columns. At the bottom of each column is a count
feature which counts the number of expressions in that column.
=Count([Expr2])

Now I want to modify it so that if Expr2 is "SampleText" then it
won't count that. How do I do this?

=Sum(IIf([Expr2]="SampleText",0,1))
 

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