+ Reply to Thread
Results 1 to 2 of 2

Count number of textual values in a row

  1. #1
    Registered User
    Join Date
    07-10-2006
    Posts
    1

    Angry Count number of textual values in a row

    Hi everyone,

    I am getting a little confused...infact...I am really struggling....

    What I am trying to do is count the number of textual values in a row (omitting any duplicates and counting them as one value)?

    For example.

    ABCD-1234
    <<Blank Row>>
    ABCD-1234
    ABCD-1234
    <<Blank Row>>
    <<Blank Row>>
    ABCD-1235
    CB1234567
    ABCD-1236
    ABCD-1236

    In the above example, I would expect the result to be 4.

    Any help would be most appreciate, genuinely.

    Thanks,
    Steve (confused)

  2. #2
    Bob Phillips
    Guest

    Re: Count number of textual values in a row

    =SUMPRODUCT((A2:A200<>"")/COUNTIF(A2:A200,A2:A200&""))

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "c99sg1" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi everyone,
    >
    > I am getting a little confused...infact...I am really struggling....
    >
    > What I am trying to do is count the number of textual values in a row
    > (omitting any duplicates and counting them as one value)?
    >
    > For example.
    >
    > ABCD-1234
    > <<Blank Row>>
    > ABCD-1234
    > ABCD-1234
    > <<Blank Row>>
    > <<Blank Row>>
    > ABCD-1235
    > CB1234567
    > ABCD-1236
    > ABCD-1236
    >
    > In the above example, I would expect the result to be 4.
    >
    > Any help would be most appreciate, genuinely.
    >
    > Thanks,
    > Steve (confused)
    >
    >
    > --
    > c99sg1
    > ------------------------------------------------------------------------
    > c99sg1's Profile:

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




+ 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