+ Reply to Thread
Results 1 to 2 of 2

Counting unique text/number cells from a range

Hybrid View

sudeepd12 Counting unique text/number ... 06-14-2005, 05:26 PM
Guest Re: Counting unique... 06-14-2005, 07:05 PM
  1. #1
    Registered User
    Join Date
    06-14-2005
    Posts
    4

    Counting unique text/number cells from a range

    Please consider a long range of text cells containing A, B, C, D....Z and more.

    Lets say it goes from H1 to H1500

    A ->H1
    A
    B
    F
    D
    A
    H
    D
    .
    .
    .
    .
    K->H1500

    I understand that to count the number of A's, we have:
    =countif(=H1:H1500,"A")

    Similarly, =countif(H1:H1500,"B") for B
    .
    .
    .
    .

    But to this for every text is tedious.....

    Is there a unique WAY which will actually give the count of each different text/number cells , once a range is selected.


    Thanks for your time,
    Sudeep

  2. #2
    Bob Phillips
    Guest

    Re: Counting unique text/number cells from a range

    =SUMPRODUCT((H1:H1500<>"")/COUNTIF(H1:H1500,H1:H1500&""))

    --

    HTH

    RP
    (remove nothere from the email address if mailing direct)


    "sudeepd12" <sudeepd12.1qmzqh_1118786811.7743@excelforum-nospam.com> wrote
    in message news:sudeepd12.1qmzqh_1118786811.7743@excelforum-nospam.com...
    >
    > Please consider a long range of text cells containing A, B, C, D....Z
    > and more.
    >
    > Lets say it goes from H1 to H1500
    >
    > A ->H1
    > A
    > B
    > F
    > D
    > A
    > H
    > D




+ 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