Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: excel question.  (Read 2002 times)

0 Members and 1 Guest are viewing this topic.

sanjeev

    Topic Starter


    Starter

    excel question.
    « on: September 30, 2008, 07:23:06 AM »
    suppose if I have a list of name and I want to know how many of the names contain less than 5 character. How do I do it?

    EJG



      Rookie

      Re: excel question.
      « Reply #1 on: September 30, 2008, 07:59:01 PM »
      The "len" function returns the number of characters in a text string.

      So suppose you had the names in cells A1 to A50.

      In cell B1, put =len(A1).

      Copy/paste that down the B column.

      Then use =countif(B1:B50,"<5") in the next cell.

      Or did you want <= 5, I forget. If you wanted that, use <= 5 (or < 6).