Results 1 to 3 of 3
  1. #1
    messier is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2020
    Posts
    18

    Group by

    Hi all,
    Say for a particular column called Team, I have teams A to E and in each team I have 10 members.

    I want to use the Totals option using Group by Teams to sum up the number of members where the criteria would be



    1. A - 10
    2. C - 10
    3. B and D - 20
    4. E - 10

    Is it possible? I tried using Where, but it didn't work.

  2. #2
    ranman256's Avatar
    ranman256 is online now VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,521
    we need to see the query. could be different reasons.
    it should look like:
    TEAM, PERSON
    group, count


    "If you have a problem, if no one else can help, and if you can find them, maybe you can hire the A-Team."

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,397
    you would need a calculated column to group on perhaps something like


    iif([team] in ("A","C","E"),[Team],"B and D")

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

Similar Threads

  1. Replies: 2
    Last Post: 02-20-2019, 10:45 PM
  2. Replies: 2
    Last Post: 11-26-2016, 01:07 PM
  3. Replies: 6
    Last Post: 06-09-2015, 09:51 AM
  4. Replies: 0
    Last Post: 02-25-2013, 04:43 PM
  5. Replies: 2
    Last Post: 06-21-2012, 07:40 PM

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