Results 1 to 2 of 2
  1. #1
    Mr.E is offline Novice
    Windows XP Access 2003
    Join Date
    Jan 2011
    Posts
    2

    Unique count

    I'm not sure the best way how to phrase the question (otherwise I would have better luck searching for a solution) so please look at the visual.

    I am looking for a way to create a count of record instances in a table.

    EX:

    Starting point -

    RecordID Value
    1 X
    1 Y


    1 Z
    2 X
    2 Z
    3 A

    Desired result - I want a new column that gives the count of records for a RecordID (below):

    RecordID Value RecordCount
    1 X 1
    1 Y 2
    1 Z 3
    2 X 1
    2 Z 2
    3 A 1


    I can do this in VBA but I feel like there is a way to do this in a query.

    Thanks in advance for your help,

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    See Allen Browne's Ranking in a Query
    http://allenbrowne.com/ranking.html#query

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

Similar Threads

  1. Replies: 1
    Last Post: 03-06-2017, 06:48 AM
  2. Count Unique Problem
    By gcgoode in forum Queries
    Replies: 9
    Last Post: 09-02-2015, 03:42 PM
  3. Another unique count question
    By atran in forum Reports
    Replies: 2
    Last Post: 05-24-2012, 10:18 AM
  4. Unique queries - Unique Count
    By bigfish in forum Queries
    Replies: 7
    Last Post: 03-14-2012, 01:28 PM
  5. Count of Unique Values
    By vsmk in forum Queries
    Replies: 2
    Last Post: 03-14-2010, 12:07 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