Calculated Text Box Formula

S

Susan May

I am trying to total the # of leads I have in a report. This particular
formula is looking for the word no in the field and counts that amount. What
I would like to see is not the total number of no's, but 1/2 that amount
because this lead would only count as a 1/2 lead. What do I need to add to
reduce this number by 1/2

=Count(IIf([LeadSecuritiesLicense]="no",0))

Thanks again for all the tech support I get online. I don't know how I
would get thru some of these issues with no support at work.

Susan
 
F

fredg

I am trying to total the # of leads I have in a report. This particular
formula is looking for the word no in the field and counts that amount. What
I would like to see is not the total number of no's, but 1/2 that amount
because this lead would only count as a 1/2 lead. What do I need to add to
reduce this number by 1/2

=Count(IIf([LeadSecuritiesLicense]="no",0))

Thanks again for all the tech support I get online. I don't know how I
would get thru some of these issues with no support at work.

Susan

=Sum(IIf([LeadSecuritiesLicense]="no",1,0))/2
 
M

Marshall Barton

Susan said:
I am trying to total the # of leads I have in a report. This particular
formula is looking for the word no in the field and counts that amount. What
I would like to see is not the total number of no's, but 1/2 that amount
because this lead would only count as a 1/2 lead. What do I need to add to
reduce this number by 1/2

=Count(IIf([LeadSecuritiesLicense]="no",0))

Thanks again for all the tech support I get online. I don't know how I
would get thru some of these issues with no support at work.


=Count(IIf([LeadSecuritiesLicense] Like "*no*", 0))

will work, but I think this is less confusing:

=Sum(IIf([LeadSecuritiesLicense] Like "*no*", 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

Top