+ Reply to Thread
Results 1 to 3 of 3

Counting data items in column that have cells that are semi-colon delimited

Hybrid View

  1. #1
    Registered User
    Join Date
    06-05-2012
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    24

    Counting data items in column that have cells that are semi-colon delimited

    I need to count the number of numric values in a cell that could be a single value or many values that are semi-colon delimited and there are about 8k rows like this in one column. All the items are numeric values that range from 1 digit to 9 digits. Any ideas on how to count them?

    Thanks,

    Paul

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Counting data items in column that have cells that are semi-colon delimited

    So in a cell where the values are semi-colon delimited the number of values will be equal to the number of delimiters (semi-colons) plus one? Or is there a final semi-colon delimiter (after the final value) in delimited strings?

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Forum Expert
    Join Date
    06-26-2010
    Location
    Austin, TX
    MS-Off Ver
    Excel 2010
    Posts
    1,673

    Re: Counting data items in column that have cells that are semi-colon delimited

    I take it is number of semicolons + 1. Try this:
    =LEN(SUBSTITUTE(A1,";",";;"))-LEN(A1)+1
    Pauley
    --------
    If I helped with your issue, I'd appreciate a rep bump (hit the '*' icon to the bottom left of this post).

+ 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