+ Reply to Thread
Results 1 to 3 of 3

=LEN Function for counting semi colons

Hybrid View

  1. #1
    Registered User
    Join Date
    09-06-2012
    Location
    Virginia Beach, VA
    MS-Off Ver
    MS 365
    Posts
    9

    =LEN Function for counting semi colons

    Good Day,

    I am responsible for creating evaluations for my employees. They do input their daily work into a database that I am able to extract into an excel spreadsheet.

    The formula below works great for counting within a single cell, the clients they interact with, but I would like to know how to count a full column. The counting of the unique values would be a plus, but not required.



    Len(a1)-len(substitute(a1,";",""))+1

    Thank you,

    R/ Joe, US Navy retired.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,695

    Re: =LEN Function for counting semi colons

    Try using SUMPRODUCT, e.g.

    =SUMPRODUCT(LEN(A1:A100)-LEN(SUBSTITUTE(A1:A100,";",""))+(A1:A100<>""))
    Audere est facere

  3. #3
    Registered User
    Join Date
    09-06-2012
    Location
    Virginia Beach, VA
    MS-Off Ver
    MS 365
    Posts
    9

    Re: =LEN Function for counting semi colons

    daddylonglegs,

    THANK YOU, worked perfect.

    The funny part is I spent about four hours bouncing back and forth between sumproduct and Len, never thought to try and combine.

    Me great with Power Point, no so much with Excel.

    V/R Joe

+ 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