+ Reply to Thread
Results 1 to 4 of 4

Count number of occurrences separated by comma

  1. #1
    Forum Contributor
    Join Date
    10-06-2012
    Location
    Basel, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    157

    Count number of occurrences separated by comma

    Hello All,
    In one column with header e.g. "Test1" I have selected a range of data with cells having entries separated by comma. I would like to count the number of entries and put the number in a newly created column right to my column "Test1".
    Could you please help me with an Excel macro?
    Thank you for your help

    Niclal

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Count number of occurrences separated by comma

    Hi Niclal,
    maybe UDF
    Please Login or Register  to view this content.
    for example
    =NumberOfEntries(A1)

  3. #3
    Forum Contributor
    Join Date
    10-06-2012
    Location
    Basel, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: Count number of occurrences separated by comma

    Hi Nilem,
    Thanks for your quick response. Would it be possible to have that as macro, because I'd like to have the number of occurrences in a separate column.
    Nic

  4. #4
    Forum Contributor
    Join Date
    10-06-2012
    Location
    Basel, Switzerland
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: Count number of occurrences separated by comma

    Hi everyone,
    Any idea how to build this macro?
    Thank for your help
    Nic

+ 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