Unfortunately I am not at a place where I have a test machine that will provide a safe environment to look at you attachment.
Note: Nothing personal toward you, but I am very cautious at looking at attachments from unknown sources. I am overly very cautious of emails and posts that are very brief and say just lookmy attachment for details. This is a common way to deloy malicious stuff.
There seams to be several issues with you examples. I will pick one.
Code:
=Count(IIf([Doc #12-5]+[Email Corrospondence]+[Doc #2]="Yes",0))
The IIF using has three parts.
The first part needs to evaluate to true or false.
What is the result of this calculation?
Code:
[Doc #12-5] + [Email Corrospondence]+ ([Doc #2]="Yes")
What is the data type for each of these fields?
[Doc #12-5]
[Email Corrospondence]
[Doc #2]
I would think that [Doc #2] is a trying that can have the Values "Yes" or "No" or possible some other string. Is this correct?
Does ([Doc #2]="Yes") evaluate to a true or false correctly?