D
dmschulz
I am trying to write an IIf statement using multiple text answers. Such as if
"yes" or "maybe" count each and if "no" ignore. When I use Or I get a
complete total regardless of the answer. If I use And I get the total zero.
This is what I have used- =Sum(IIf([NameOfField] = "Yes" Or "Maybe", 1, 0))
What am I doing wrong? Can I do this at all? If so what is the correct
expression? Thanks, Dawn
"yes" or "maybe" count each and if "no" ignore. When I use Or I get a
complete total regardless of the answer. If I use And I get the total zero.
This is what I have used- =Sum(IIf([NameOfField] = "Yes" Or "Maybe", 1, 0))
What am I doing wrong? Can I do this at all? If so what is the correct
expression? Thanks, Dawn