+ Reply to Thread
Results 1 to 4 of 4

Counting unique values

  1. #1
    Registered User
    Join Date
    06-28-2005
    Posts
    48

    Counting unique values

    Hi,

    I am trying to get a formula whereby I am looking in two columns and counting unique values in one column that occur when matched against a specified criteria from another column. ie.

    Me Dog
    Me Dog
    Me Cat
    You Dog

    Therefore in this example if I wanted to count how many unique values there were in column a that corresponded with the word "dog" the formula would return 2 (counting once for the two occurences of "me dog" and once for the "you dog".

    Many thanks in advance,

    GW
    Last edited by giantwolf; 08-03-2006 at 11:03 AM.

  2. #2
    Marcelo
    Guest

    RE: Counting unique values

    hi, the pivot table will be the best way to solve your problem

    hth
    regards from Brazil
    Marcelo

    "giantwolf" escreveu:

    >
    > Hi,
    >
    > I am trying to get a formula whereby I am looking in two columns and
    > counting unique values in one column that occur when matched against a
    > specified criteria from another column. ie.
    >
    > Me Dog
    > Me Dog
    > Me Cat
    > You Dog
    >
    > Therefore in this example if I wanted to count how many unique values
    > there were in column a that corresponded with the word "dog" the
    > formula would return 2 (counting once for the two occurences of "me
    > dog" and once for the "you dog".
    >
    > Many thanks in advance,
    >
    > GW
    >
    >
    > --
    > giantwolf
    > ------------------------------------------------------------------------
    > giantwolf's Profile: http://www.excelforum.com/member.php...o&userid=24718
    > View this thread: http://www.excelforum.com/showthread...hreadid=567923
    >
    >


  3. #3
    Marcelo
    Guest

    RE: Counting unique values

    hi, the pivot table will be the best way to solve your problem

    hth
    regards from Brazil
    Marcelo

    "giantwolf" escreveu:

    >
    > Hi,
    >
    > I am trying to get a formula whereby I am looking in two columns and
    > counting unique values in one column that occur when matched against a
    > specified criteria from another column. ie.
    >
    > Me Dog
    > Me Dog
    > Me Cat
    > You Dog
    >
    > Therefore in this example if I wanted to count how many unique values
    > there were in column a that corresponded with the word "dog" the
    > formula would return 2 (counting once for the two occurences of "me
    > dog" and once for the "you dog".
    >
    > Many thanks in advance,
    >
    > GW
    >
    >
    > --
    > giantwolf
    > ------------------------------------------------------------------------
    > giantwolf's Profile: http://www.excelforum.com/member.php...o&userid=24718
    > View this thread: http://www.excelforum.com/showthread...hreadid=567923
    >
    >


  4. #4
    Registered User
    Join Date
    06-28-2005
    Posts
    48
    Thanks, I was thinking about a pivot table but I was hoping to have a formula which is already in a table and automatically updates when new data is pasted into a different sheet.

+ 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