Results 1 to 4 of 4
  1. #1
    Jamescdawson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    South Wales, UK
    Posts
    98

    Counting "Yes/No" Tick Box Fields and presenting in a report footer

    I have a form with supporting table which has Yes/No tick box fields for Age Ranges... (i.e. a separate tick box for for a each range)

    "18-24"
    "25-30"
    "31-55"
    "56-65"
    "65+"

    I have created a report that lists various details and presents all five tick boxes in columns in the report to show the age group of that record.

    I'd like to count the number of ticks in the report for each column and present the number at the bottom of each column in the report footer.

    If I use "=Count(FieldName)" it counts both Yes & Nos. (Ticked and Not Ticked) Can anyone help? What am I doing wrong ?

    With hindsight, I wish I had created a combo box with a drop down choice, but I feel that there must be an easy solution to this tick box route

    Jimbo

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    =Sum(IIf([18-24]=True,1,0))

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,412
    or

    =abs(sum(([18-24]))

  4. #4
    Jamescdawson is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jan 2012
    Location
    South Wales, UK
    Posts
    98
    Thanks aytee11

    Works fine now

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 08-29-2015, 12:56 AM
  2. Replies: 6
    Last Post: 10-09-2013, 11:04 AM
  3. Using "Count" function in a report footer
    By GraeagleBill in forum Reports
    Replies: 5
    Last Post: 05-11-2013, 03:42 PM
  4. Column sum works in "Detail" but not "Footer"
    By Doodlebug2000 in forum Reports
    Replies: 1
    Last Post: 12-10-2012, 03:20 PM
  5. Report Footer "Missing Operator" message
    By ewassmer in forum Reports
    Replies: 2
    Last Post: 09-28-2011, 11:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums