+ Reply to Thread
Results 1 to 7 of 7

counting unique values beginning with the same character

  1. #1
    Registered User
    Join Date
    10-11-2009
    Location
    Toronto CAN
    MS-Off Ver
    Excel 2003
    Posts
    3

    counting unique values beginning with the same character

    Hi Guys ...

    Have a worksheet 30 columns and 4000 rows. On certain columns i need to be able to count the number of unique fields but the entries have common and unique identifiers.

    For Example how can I count the number of fields with PXXXX followed by the number of PYYYY. I only need to be able to count each of these unique P numbers once.

    Thanks in advance

    Doug

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting unique values beginning with the same character

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

  3. #3
    Registered User
    Join Date
    10-11-2009
    Location
    Toronto CAN
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: counting unique values beginning with the same character

    Here you go. In colum I, you will find identifiers beginning with S but have unique numbers after the letter. I need to count those distinct cells only once yet count how many times columns B and C are associated to one distinct identifier from column I

    For example ( How many times does CQ and OE identify with s3768 and then how many times CQ and OE are associated with S2265 )

    Enjoy
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: counting unique values beginning with the same character

    Have you thought about possibility of using a Pivot Table ?

    See attached based on your sample file.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-11-2009
    Location
    Toronto CAN
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: counting unique values beginning with the same character

    That'll do ... Thanks for the help

    I have to admit i was a bit intimidated by pivot tables but it seems pretty powerful

    Thanks again

    Doug

  6. #6
    Registered User
    Join Date
    05-29-2013
    Location
    india
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: counting unique values beginning with the same character

    Counting Unique Values Beginning With zz
    in coulmn a i have data

    sds
    fsd
    zzx
    zzv
    zzx
    zza
    zzd
    assd
    zzxcvcvb

    For Example how can I unique count the number of fields begin with zz.
    Last edited by bharathsd; 06-02-2013 at 01:38 AM.

  7. #7
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: counting unique values beginning with the same character

    Welcome to the forum bharathsd.
    can you create another thread for your query.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

+ 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