+ Reply to Thread
Results 1 to 2 of 2

Count duplicates where the next column contains specific text

  1. #1
    Registered User
    Join Date
    02-02-2006
    Posts
    1

    Count duplicates where the next column contains specific text

    I need to write a formula which counts the number of unique entries in columnA where the corresponding entries in columnB contain a specific string of text (ie *text*).

    Can anyone help with an answer to this problem or is it impossible to do in excel?
    Last edited by ar0618; 02-02-2006 at 08:43 AM.

  2. #2
    Bob Phillips
    Guest

    Re: Count duplicates where the next column contains specific text

    =SUM(--(FREQUENCY(IF(B2:B100="text",MATCH(A2:A100,A2:A100,0)),ROW(INDIRECT("
    1:"&ROWS(A2:A100))))>0))

    which is an array formula, it should be committed with Ctrl-Shift-Enter, not
    just Enter.

    --
    HTH

    Bob Phillips

    (remove nothere from email address if mailing direct)

    "ar0618" <[email protected]> wrote in
    message news:[email protected]...
    >
    > I need to write a formula which counts the number of unique entries in
    > columnA where the corresponding entries in columnB contain a specific
    > string of text (ie *text*).
    >
    > Can anyone help with an answer to this problem or is it impossible to
    > do in excel?
    >
    >
    > --
    > ar0618
    >
    >
    > ------------------------------------------------------------------------
    > ar0618's Profile:

    http://www.excelforum.com/member.php...o&userid=31093
    > View this thread: http://www.excelforum.com/showthread...hreadid=507620
    >




+ 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