+ Reply to Thread
Results 1 to 3 of 3

Count different sets of data with multiple variables

  1. #1
    Registered User
    Join Date
    05-17-2010
    Location
    brooklyn, new york
    MS-Off Ver
    Excel 2003
    Posts
    2

    Count different sets of data with multiple variables

    I have a spreadsheet with different categories: the first category has options A,B & C and the second category has options 1,2 & 3. What I need excel to do is count the number of items falling under each possible combination of data. I need to know how many times do the combinations A1,A2,A3,B1...etc. appear. The data set I am working with will continue to grow and the number of times each combination appears is important for other calculations in the sheet. Any help would be appreciated!!
    Attached Files Attached Files
    Last edited by ransome; 05-17-2010 at 08:39 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Count different sets of data with multiple variables

    To get the combo in D3, enter =B3&C3 and copy down

    To get a count in next column, in E3, enter: =COUNTIF(D:D,D3) and copy down.

    If you want you can set up a table of unique combinations, and use the countif against that table, referencing column D and the table would be the criteria.

    Or you can use a pivot table to summarize the counts.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-17-2010
    Location
    brooklyn, new york
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Count different sets of data with multiple variables

    Awesome that worked perfectly. Thanks a lot!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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