kimmer7389
Technical User
I thought my Access skills were better than this. Glad this site exists to get me unstuck. Sometimes my brain pauses.
I have a report that lists several different fields and the counts of yesses and nos. It looks like this.
Field Yes Count No Count
Field 1 2 3
Field 2 4 1
Field 3 5 0
How do I easily Get a total Count of Yesses?
I have tried to write an expression that looks something like this...
=Sum(IIf([Field 1]+[Field 2]+[Fied 3]="Yes",0))
but that didn't work. I tried commas in place of the plus signs and that didn't work either.
Would VBA code work better?
Thanks
Kim
I have a report that lists several different fields and the counts of yesses and nos. It looks like this.
Field Yes Count No Count
Field 1 2 3
Field 2 4 1
Field 3 5 0
How do I easily Get a total Count of Yesses?
I have tried to write an expression that looks something like this...
=Sum(IIf([Field 1]+[Field 2]+[Fied 3]="Yes",0))
but that didn't work. I tried commas in place of the plus signs and that didn't work either.
Would VBA code work better?
Thanks
Kim