+ Reply to Thread
Results 1 to 7 of 7

count codes in a column w. several codes in a same cell

Hybrid View

chum count codes in a column w.... 11-28-2006, 06:32 AM
Carim Bonjour, Have you already... 11-28-2006, 09:33 AM
chum Hi Carim, yes but the... 11-28-2006, 09:38 AM
Carim Ok then ... a couple of... 11-28-2006, 09:44 AM
Bryan Hessey Hi chum, In Data, Text to... 11-28-2006, 09:56 AM
chum Hi Carim and Bryan, ... 11-28-2006, 12:11 PM
Carim Glad your problem is fixed. ... 11-28-2006, 01:08 PM
  1. #1
    Registered User
    Join Date
    05-09-2006
    Location
    germany but I am french
    Posts
    20

    count codes in a column w. several codes in a same cell

    Hi,

    in the attached file there are some codes listed in a column ; there are some cells which have several codes.
    The codes are separated wether with a comma, or with a semi-column.
    I'd like to count the different codes.
    Does anyone has any idea ?

    thanks a lot,
    Chum.
    Attached Files Attached Files

  2. #2
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Bonjour,

    Have you already tried from the menu Data Text to Columns ...?

    HTH
    Carim

  3. #3
    Registered User
    Join Date
    05-09-2006
    Location
    germany but I am french
    Posts
    20
    Hi Carim,

    yes but the problem is that there are some codes with 3 and some others with 4 characters, so even when I manually delimit the cells, I can not catch all codes correctly.
    Do you have another suggestion ?

    thanks !
    Chum

  4. #4
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Ok then ...

    a couple of formulae ...

    =LEFT(A1,FIND(",",A1,1)-1)
    and
    =RIGHT(A1,LEN(A1)-FIND(",",A1,1))
    HTH
    Carim

  5. #5
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by chum
    Hi Carim,

    yes but the problem is that there are some codes with 3 and some others with 4 characters, so even when I manually delimit the cells, I can not catch all codes correctly.
    Do you have another suggestion ?

    thanks !
    Chum
    Hi chum,

    In Data, Text to Columns, try Delimited, Comma & SemiColon, then do a cut/paste of column B to the end of column A, repeat for columns C D and E, then Filter, Advanced Filter, Unique, Copy to location.

    This will give a unique list, the last row is the count.

    hth
    ---
    Si fractum non sit, noli id reficere.

  6. #6
    Registered User
    Join Date
    05-09-2006
    Location
    germany but I am french
    Posts
    20
    Hi Carim and Bryan,

    thanks a lot for your tips, it works well !



    Cheers, Chum

  7. #7
    Forum Expert Carim's Avatar
    Join Date
    04-07-2006
    Posts
    4,070
    Glad your problem is fixed.

    Thanks for the feedback

    Carim

+ 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