+ Reply to Thread
Results 1 to 3 of 3

Count number of cells with alphanumeric data in a column

  1. #1
    Registered User
    Join Date
    07-03-2011
    Location
    Mumbai, India
    MS-Off Ver
    2007
    Posts
    18

    Count number of cells with alphanumeric data in a column

    I have a column (approx. 500 rows) with data consisting of numbers, letters and a few cells have numbers followed by alphabets. I want to count the number of cells that contain numbers followed by alphabets.
    Sample data

    23
    23a
    23b
    34
    34a
    ABC
    67
    75
    75a
    DEF

    The answer is 4 (four cells containing data 23a, 23b, 34a,75a)
    Thanks for the help.
    Satish

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Count number of cells with alphanumeric data in a column

    you could try
    =SUMPRODUCT((ISNUMBER(--LEFT(A1:A100)))*(ISERROR(--RIGHT(A1:A100))))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Count number of cells with alphanumeric data in a column

    Maybe
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Or, if you are into CSE arrays (Confirm with Ctrl+Shift+Enter not just Enter)
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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