+ Reply to Thread
Results 1 to 3 of 3

Unique data query count

  1. #1
    Registered User
    Join Date
    03-14-2010
    Location
    Oz
    MS-Off Ver
    Excel 2007
    Posts
    2

    Unique data query count

    Hi guys, I am in need of assistance here and hope someone can be kind enough to help.


    I have SIX columns in my work sheet, each column has specific text in it, i.e:
    Column A only has AAA's in it, Column B only has BBB's in it, Column C only has CCC's and, well, you get the idea.

    The thing is, not every ROW has ALL of these things in the columns- there are different combinations.
    Rows 1 through 14 might only have things in Column A
    Rows 15 - 200 might have only things from Column B
    Rows 201 - 1500 might only things from Columns A and B
    Rows 1501 - 1543 might ONLY have things from Columns A, B, D and G

    And it goes on.

    I need help in getting a count for the individual groups of data.
    I.e: How many rows with ONLY AAA's are there?
    How many rows with ONLY BBB's are there?
    How many rows with ONLY A and B's are there?

    I have tried a Pivot Table and it wont work properly with blanks in the rows.

    What I did manage, which is in the right direction, is a Filter of UNIQUE records.
    Where it shows that I have AAA, BBB, AAA+BBB, CCC, AAA+BBB+CCC,DDD, AAA+DDD etc.
    I like this, but just need to know how many items are IN EACH of those UNIQUE sets of data.

    I don't seem to be having much luck at all with solving this (its probably very easy and I do apologize for my ignorance!)

    I would be very grateful if ANYONE could help shed some light on this for me!

    Thanks in advance,
    aFromOZ
    Last edited by aFromOZ; 03-14-2010 at 12:13 PM.

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097

    Re: Unique data query count

    Hi,

    Thanks for changing your title - hope you read all the rules.

    Now what you can use to do your counting is something like

    =COUNTIF(A$1:A$26,"AAA") to count the groups or

    =COUNTIFS(A1:A26,"AAA",B1:B26,"BBB",C1:C26,"CCC") to count the rows

    Edit the formulas and ranges to suit your requirements.
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Registered User
    Join Date
    03-14-2010
    Location
    Oz
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Unique data query count

    Thanks for the reply mate, sorry about the original (not so...) title.
    Got a bit carried away! I should've realized anyway because I hate it when I go to a forum and someone does a post like mine!! :P

    A bit late for me to try that suggestion out now but I'll certainly give it a go tomorrow when I finish work and I'll let you know how I went.

    Thanks for your kindness and generosity of time and expertise,
    aFromOZ

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1