+ Reply to Thread
Results 1 to 8 of 8

Count unique entries across columns based on criteria

  1. #1
    Registered User
    Join Date
    10-16-2012
    Location
    Danmark
    MS-Off Ver
    2010
    Posts
    3

    Count unique entries across columns based on criteria

    I have a table of different trainer names (columns) and training sessions (rows)
    I have formulas to count how many trainers took part in each training session and how many sessions each trainer has been doing.
    Each training session has from 2 to 6 trainers.

    I would now like to count the number of co-trainers each trainer has worked with.
    In the attached example I have counted the Co-trainers manually in row 24. Does anybody know of a formula that can do the counting automatically.
    I prefer not to use VBA.

    Thanks
    Peter
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Count unique entries across columns based on criteria

    there is something wrong with that table there is something in the "blank " cells else counta() in col q
    would simply give the number of entries
    Last edited by martindwilson; 08-12-2013 at 05:25 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Danmark
    MS-Off Ver
    2010
    Posts
    3

    Re: Count unique entries across columns based on criteria

    Yes I know, that's because the content in cells B2:P21 comes from another Excel sheet and that contains a formula that refers to another column. Ill update the file to reflect that
    Attached Files Attached Files
    Last edited by flomme; 08-12-2013 at 05:33 AM.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Count unique entries across columns based on criteria

    i can only think of using a helper table
    see attached
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-16-2012
    Location
    Danmark
    MS-Off Ver
    2010
    Posts
    3

    Re: Count unique entries across columns based on criteria

    Quote Originally Posted by martindwilson View Post
    i can only think of using a helper table
    see attached
    Thanks a lot.
    Works perfectly

  6. #6
    Registered User
    Join Date
    08-15-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Count unique entries across columns based on criteria

    how do I get a count total of a specific number a row? Example: how many number ones (1) are there from A1 through Z1, when there are multiple numbers in the same A1 to Z1 row?

  7. #7
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Count unique entries across columns based on criteria

    eznugget
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  8. #8
    Registered User
    Join Date
    08-15-2013
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Count unique entries across columns based on criteria

    I appolagize, I thought I was I doing a new post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Count unique values in columns based on 2 criteria
    By t83357 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-12-2013, 04:33 PM
  2. [SOLVED] How can I count line entries based on meeting criteria for 2 separate columns?
    By neilrk7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2013, 12:57 PM
  3. [SOLVED] Count Unique Pairs of Excel Entries Based on Criteria
    By DonFord81 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-22-2013, 01:12 PM
  4. Count unique entries with criteria
    By Leopold2000 in forum Excel General
    Replies: 9
    Last Post: 12-04-2012, 12:24 AM
  5. count unique entries with criteria
    By shinbar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-03-2005, 02:31 PM

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