Results 1 to 3 of 3
  1. #1
    fionny is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2013
    Location
    Ireland
    Posts
    7

    Count Unique Values in a Category


    Hi All,

    Please bare with me as im an utter noob but im hoping you can help me with something.

    I want to create a query within Access which will show me the Unique values within a specific group currently im doing this in by exporting to excel and using the following formula:

    =IF(SUMPRODUCT(($CO$2:$CO2=CO2)*($E$2:$E2=E2))>1,0 ,1)

    and then pivoting the data

    CO2 = the group
    E2 = Order number


    I would like to make a query that does the exact same thing with Access, how would I got about it?

    Regards & Thanks,
    Fionn

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    try,
    Iif(test,True part,False Part)

    Dale

  3. #3
    fionny is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2013
    Location
    Ireland
    Posts
    7
    I got sorted I used a select distinct set to do it and worked it that way. Thanks.

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

Similar Threads

  1. Access Unique Count
    By spherehunter in forum Programming
    Replies: 5
    Last Post: 05-17-2012, 11:42 AM
  2. Unique queries - Unique Count
    By bigfish in forum Queries
    Replies: 7
    Last Post: 03-14-2012, 01:28 PM
  3. Count number of defects per category
    By HeadGasket in forum Queries
    Replies: 5
    Last Post: 02-10-2012, 04:13 PM
  4. Count Unique Records
    By PonderingAccess in forum Queries
    Replies: 2
    Last Post: 08-19-2010, 06:54 AM
  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