Results 1 to 4 of 4
  1. #1
    Shue6842 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jul 2019
    Posts
    1

    Counting in Reports

    Hello, I am sure this is an easy problem to solve but can someone please help me with the correct formula to count specific data within a field? Below is the formula that I am using to count.

    =count([Club])

    This formula counts everything in the field. I want it to break it down more specifically.

    [Club] is the field that holds the data that I want to count. For example I want the report to count the total number of 0311T records.


    Sent from my iPhone using Tapatalk

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    If it's just the one, in the report footer:

    =Sum(IIf([Club] = '0311T', 1, 0))
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    A S MANN is offline Advanced System Analyst
    Windows XP Access 2007
    Join Date
    Oct 2010
    Location
    India
    Posts
    161
    Use =DCount("[Club]", "Table", "[Field] = 'CA'")

  4. #4
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Quote Originally Posted by A S MANN View Post
    Use =DCount("[Club]", "Table", "[Field] = 'CA'")
    Note that will count all matching records in the table, not necessarily those on the report if it was filtered in any way.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Counting groups in reports bug
    By anthgav in forum Reports
    Replies: 4
    Last Post: 07-31-2018, 11:12 AM
  2. Replies: 3
    Last Post: 07-13-2018, 12:14 PM
  3. Replies: 13
    Last Post: 02-08-2017, 04:11 PM
  4. Specific record counting in Reports
    By Duncan in forum Reports
    Replies: 2
    Last Post: 11-08-2012, 02:54 PM
  5. counting ticks in reports
    By rumplstilskin in forum Reports
    Replies: 2
    Last Post: 05-03-2012, 10:23 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