+ Reply to Thread
Results 1 to 3 of 3

counting the number of the integers within text?

  1. #1
    Registered User
    Join Date
    09-15-2013
    Location
    Singapore
    MS-Off Ver
    Excel 2007
    Posts
    56

    counting the number of the integers within text?

    Is there a way to count the number of integers in e.g.

    8400,3311 ,5123, a23 = 3

    3323,9993,4abc, 1990 = 3

    [email protected] = 3

    A245,5555,113$.AB = 1


    Only counting the sets of 4 digits, excludes all alphabet.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: counting the number of the integers within text?

    Hi and welcome to the forum

    Im sure that someone will give you a better solution, but until then, see if this is something you can use...

    1. use Text-to-Columns to split the string, using both , (comma) and . as the delimiters. This will give you most of the numbers, you may need to do T2C again with @
    2. use =count(range) to give you the qty of mumbers
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: counting the number of the integers within text?

    Hi and welcome to the forum

    Im sure that someone will give you a better solution, but until then, see if this is something you can use...

    1. use Text-to-Columns to split the string, using both , (comma) and . as the delimiters. This will give you most of the numbers, you may need to do T2C again with @
    2. use =count(range) to give you the qty of mumbers

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Counting duplicate integers in cell
    By cowtowner in forum Excel General
    Replies: 1
    Last Post: 05-12-2010, 12:08 PM
  2. [SOLVED] A list of Consecutive Integers, can I search for missing integers
    By Harlan Grove in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 11:05 PM
  3. A list of Consecutive Integers, can I search for missing integers
    By CM in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 PM
  4. [SOLVED] A list of Consecutive Integers, can I search for missing integers
    By CM in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 PM
  5. [SOLVED] A list of Consecutive Integers, can I search for missing integers
    By CM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-02-2005, 02:05 PM

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