How to count and show percentage for "yes" or "no" records on a form?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gina farrow
    New Member
    • Jan 2011
    • 23

    #1

    How to count and show percentage for "yes" or "no" records on a form?

    I have a form that has yes or no answer. I need to know how to count how many yeses and how many nos on the form. and then show a precentage of how many records said yes and no.
  • gina farrow
    New Member
    • Jan 2011
    • 23

    #2
    would I have to use a query first?

    Comment

    • Rabbit
      Recognized Expert MVP
      • Jan 2007
      • 12517

      #3
      These are all different fields? You would need a very long string of IIf() statements.

      Comment

      • gina farrow
        New Member
        • Jan 2011
        • 23

        #4
        yes,for each column I need to count how many yeses and nos

        Comment

        • Rabbit
          Recognized Expert MVP
          • Jan 2007
          • 12517

          #5
          You could do an aggregate query for each field or you could use the DCount function.

          Comment

          Working...